Skip to content

Instantly share code, notes, and snippets.

@mickael-kerjean
Last active July 20, 2023 02:35
Show Gist options
  • Save mickael-kerjean/c695f2354772255ff331fa879c30b2e5 to your computer and use it in GitHub Desktop.
Save mickael-kerjean/c695f2354772255ff331fa879c30b2e5 to your computer and use it in GitHub Desktop.
tmp
export PS1="\[\033[1;34m\]\w\[\033[0;37m\] # \[\033[0m\]"
# https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/
# create relevant images and push them
docker build -t machines/filestash:latest-arm64v8 .
docker push machines/filestash:latest-arm64v8
docker build -t machines/filestash:latest-amd64 .
docker push machines/filestash:latest-amd64
docker manifest create machines/filestash:latest \
--amend machines/filestash:latest-amd64 \
--amend machines/filestash:latest-arm64v8
docker manifest push machines/filestash:multiarch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment