Skip to content

Commit 8941016

Browse files
committed
build(docker): support native host multi-arch builds
amd64 and arm64.
1 parent 3e17f46 commit 8941016

File tree

10 files changed

+272
-129
lines changed

10 files changed

+272
-129
lines changed

pixi.lock

Lines changed: 136 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pixi.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ description = "Update the default Docker image tag"
9292
[tasks.build-docker-images]
9393
cmd = "src/docker/build.sh"
9494
description = "Build the ITK-Wasm docker images"
95-
depends-on = ["clean", "export-itk-wasm-env-vars", "update-default-image-tag"]
95+
depends-on = ["export-itk-wasm-env-vars", "update-default-image-tag"]
9696

9797
[dependencies]
9898
pnpm = ">=9.15.1,<10"
@@ -104,6 +104,9 @@ m2w64-jq = ">=1.6.0,<2"
104104
[target.unix.dependencies]
105105
jq = ">=1.7.1,<2"
106106

107+
[target.osx-arm64.dependencies]
108+
sed = ">=4.8,<5"
109+
107110
[feature.native.tasks.clone-itk]
108111
cmd = ["stat", "$ITK_WASM_ITK_SOURCE_DIR", ">/dev/null", "||",
109112
"git", "clone",

src/docker/RELEASE.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
Verify the source tree.
44

55
```
6-
# Remove all old podman images
7-
podman rmi $(podman images -qa) -f
8-
podman rmi $(podman images -qa) -f
96
pixi run build-docker-images --with-debug --multiarch
107
118
# DockerHub credential environmental variables must be set

0 commit comments

Comments
 (0)