fix extra space character in docker files
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ FROM registry.access.redhat.com/ubi8/ubi-minimal:8.3
|
||||
LABEL maintainer="MinIO Inc <dev@min.io>"
|
||||
|
||||
COPY mc /usr/bin/
|
||||
COPY CREDITS /licenses/CREDITS
|
||||
COPY CREDITS /licenses/CREDITS
|
||||
COPY LICENSE /licenses/LICENSE
|
||||
|
||||
RUN \
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ ARG TARGETARCH
|
||||
|
||||
LABEL maintainer="MinIO Inc <dev@min.io>"
|
||||
|
||||
COPY CREDITS /licenses/CREDITS
|
||||
COPY CREDITS /licenses/CREDITS
|
||||
COPY LICENSE /licenses/LICENSE
|
||||
|
||||
RUN \
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
sudo sysctl net.ipv6.conf.wlp59s0.disable_ipv6=1
|
||||
|
||||
docker buildx build --push --no-cache -t "minio/mc:latest" \
|
||||
--platform=linux/arm,linux/arm64,linux/amd64,linux/ppc64le,linux/s390x \
|
||||
-f Dockerfile.release .
|
||||
|
||||
docker buildx prune -f
|
||||
|
||||
release=$(git describe --abbrev=0 --tags)
|
||||
|
||||
docker buildx build --push --no-cache -t "minio/mc:${release}" \
|
||||
--platform=linux/arm,linux/arm64,linux/amd64,linux/ppc64le,linux/s390x \
|
||||
-f Dockerfile.release .
|
||||
|
||||
docker buildx prune -f
|
||||
|
||||
sudo sysctl net.ipv6.conf.wlp59s0.disable_ipv6=0
|
||||
Reference in New Issue
Block a user