-
Build Local Image
docker buildx build --load --tag scootsoftware/snapclient:latest .
-
Enable Cross-compilation
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
-
Test Build
docker buildx build --platform linux/arm/v7,linux/arm64,linux/amd64 --tag scootsoftware/snapclient:latest .
-
Build & Push Images
docker buildx build --push --platform linux/arm/v7,linux/arm64,linux/amd64 --tag scootsoftware/snapclient:latest --tag scootsoftware/snapclient:0.28.0 .