User Tools

Site Tools


docker:multiarch
export DOCKER_BUILDKIT=1
docker build --platform=local -o . git://github.com/docker/buildx
mkdir -p ~/.docker/cli-plugins && mv buildx ~/.docker/cli-plugins/docker-buildx
sudo apt-get install -y binfmt-support
sudo apt-get install -y qemu-user-static
docker buildx create --use --name mybuilder
docker buildx build --platform=linux/arm --no-cache=true -t pi-test:0.0.16 . --load
docker tag pi-test:0.0.16 repo/path/pi-test:0.0.16
docker push repo/path/pi-test:0.0.16
docker/multiarch.txt · Last modified: 2020/07/03 19:23 by els