minio/docker-buildx-ubi.sh

14 lines
357 B
Bash
Executable File

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