-
-
Save taiar/50a89e57e638b748bdfd35edf96685bb to your computer and use it in GitHub Desktop.
Create and push a docker multi arch image
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 create --use --platform=linux/arm64,linux/amd64 --name multi-platform-builder | |
docker buildx inspect --bootstrap | |
docker buildx build --platform=linux/arm64,linux/amd64 --push --tag project-name:latest -f ./project-name/Dockerfile . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ref: https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/