fix: building docker images

master
Harshavardhana 4 years ago
parent 1ab4d6a6aa
commit c22a387695
  1. 1
      docker-buildx-ubi.sh
  2. 6
      docker-buildx.sh

@ -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

@ -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

Loading…
Cancel
Save