Created
January 8, 2020 19:23
-
-
Save foo4u/84926426bb9f56166cde4e40efc37b5e to your computer and use it in GitHub Desktop.
Building Multi-Architecture Docker Images on ARM 64
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ docker buildx build --platform linux/amd64,linux/arm64 -t foo4u/demo-mutliarch:2 --push . | |
[+] Building 4.7s (9/9) FINISHED | |
=> [internal] load build definition from Dockerfile 0.0s | |
=> => transferring dockerfile: 31B 0.0s | |
=> [internal] load .dockerignore 0.0s | |
=> => transferring context: 2B 0.0s | |
=> [linux/amd64 internal] load metadata for docker.io/library/alpine:latest 0.1s | |
=> [linux/arm64 internal] load metadata for docker.io/library/alpine:latest 0.1s | |
=> [linux/amd64 1/2] FROM docker.io/library/alpine@sha256:2171658620155679240babee0a7714f6509fae66898db422ad803b951257db78 0.0s | |
=> => resolve docker.io/library/alpine@sha256:2171658620155679240babee0a7714f6509fae66898db422ad803b951257db78 0.0s | |
=> CACHED [linux/amd64 2/2] RUN apk add util-linux 0.0s | |
=> [linux/arm64 1/2] FROM docker.io/library/alpine@sha256:2171658620155679240babee0a7714f6509fae66898db422ad803b951257db78 0.0s | |
=> => resolve docker.io/library/alpine@sha256:2171658620155679240babee0a7714f6509fae66898db422ad803b951257db78 0.0s | |
=> CACHED [linux/arm64 2/2] RUN apk add util-linux 0.0s | |
=> exporting to image 4.5s | |
=> => exporting layers 1.3s | |
=> => exporting manifest sha256:cb54200a7c04dded134ca9e3e6a0e434c2fdf851fb3a7226941d0983ad5bfb88 0.0s | |
=> => exporting config sha256:307b885367f8ef4dc443dc35d6ed3298b9a3a48a846cf559a676c028a359731b 0.0s | |
=> => exporting manifest sha256:6f4fe17def66ef5bc79279448e1cb77a1642d460ed58d5dc60d0e472c023e2eb 0.0s | |
=> => exporting config sha256:26e6b092c7c1efffe51ce1d5f68e3359ab44152d33df39e5b85cd4ff6cfed3d4 0.0s | |
=> => exporting manifest list sha256:3b4e4135b92017e5214421543b813e83a77fcea759af8067c685b70a5d978497 0.0s | |
=> => pushing layers 2.3s | |
=> => pushing manifest for docker.io/foo4u/demo-mutliarch:2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment