minio/docker-buildx.sh

18 lines
535 B
Bash
Raw Normal View History

#!/bin/bash
sudo sysctl net.ipv6.conf.wlp59s0.disable_ipv6=1
release=$(git describe --abbrev=0 --tags)
2020-11-26 23:22:51 -05:00
docker buildx build --push --no-cache -t "minio/minio:latest" \
--platform=linux/arm,linux/arm64,linux/amd64,linux/ppc64le,linux/s390x \
-f Dockerfile.release .
docker buildx build --push --no-cache -t "minio/minio:${release}" \
--platform=linux/arm,linux/arm64,linux/amd64,linux/ppc64le,linux/s390x \
-f Dockerfile.release .
2020-11-26 23:22:51 -05:00
docker buildx prune -f
sudo sysctl net.ipv6.conf.wlp59s0.disable_ipv6=0