fix: building docker images

This commit is contained in:
Harshavardhana 2020-12-02 17:34:34 -08:00
parent 1ab4d6a6aa
commit c22a387695
2 changed files with 4 additions and 3 deletions

View File

@ -10,4 +10,3 @@ docker buildx build --push --no-cache -t "minio/minio:${release}-ubi" \
docker buildx prune -f docker buildx prune -f
sudo sysctl net.ipv6.conf.wlp59s0.disable_ipv6=0 sudo sysctl net.ipv6.conf.wlp59s0.disable_ipv6=0

View File

@ -2,11 +2,14 @@
sudo sysctl net.ipv6.conf.wlp59s0.disable_ipv6=1 sudo sysctl net.ipv6.conf.wlp59s0.disable_ipv6=1
release=$(git describe --abbrev=0 --tags)
docker buildx build --push --no-cache -t "minio/minio:latest" \ docker buildx build --push --no-cache -t "minio/minio:latest" \
--platform=linux/arm,linux/arm64,linux/amd64,linux/ppc64le,linux/s390x \ --platform=linux/arm,linux/arm64,linux/amd64,linux/ppc64le,linux/s390x \
-f Dockerfile.release . -f Dockerfile.release .
docker buildx prune -f
release=$(git describe --abbrev=0 --tags)
docker buildx build --push --no-cache -t "minio/minio:${release}" \ docker buildx build --push --no-cache -t "minio/minio:${release}" \
--platform=linux/arm,linux/arm64,linux/amd64,linux/ppc64le,linux/s390x \ --platform=linux/arm,linux/arm64,linux/amd64,linux/ppc64le,linux/s390x \
-f Dockerfile.release . -f Dockerfile.release .
@ -14,4 +17,3 @@ docker buildx build --push --no-cache -t "minio/minio:${release}" \
docker buildx prune -f docker buildx prune -f
sudo sysctl net.ipv6.conf.wlp59s0.disable_ipv6=0 sudo sysctl net.ipv6.conf.wlp59s0.disable_ipv6=0