From aded0bc81a4ca43e372e7362c49decb8f306674e Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Fri, 10 Jul 2020 18:30:22 -0700 Subject: [PATCH] Update dockerfiles for the release --- Dockerfile.arm.release | 3 ++- Dockerfile.arm64.release | 3 ++- Dockerfile.ppc64le.release | 3 ++- Dockerfile.release | 4 ++-- Dockerfile.s390x.release | 3 ++- 5 files changed, 10 insertions(+), 6 deletions(-) diff --git a/Dockerfile.arm.release b/Dockerfile.arm.release index 4c546f770..79f9c66c2 100644 --- a/Dockerfile.arm.release +++ b/Dockerfile.arm.release @@ -4,7 +4,6 @@ FROM arm32v7/alpine:3.12 LABEL maintainer="MinIO Inc " COPY --from=qemu /usr/bin/qemu-arm-static /usr/bin -COPY minio /usr/bin/minio ENV MINIO_UPDATE off ENV MINIO_ACCESS_KEY_FILE=access_key \ @@ -15,7 +14,9 @@ ENV MINIO_ACCESS_KEY_FILE=access_key \ RUN \ apk add --no-cache ca-certificates 'curl>7.61.0' 'su-exec>=0.2' && \ echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' >> /etc/nsswitch.conf && \ + curl -s -q https://dl.min.io/server/minio/release/linux-arm/minio -o /usr/bin/minio && \ curl -s -q https://raw.githubusercontent.com/minio/minio/release/dockerscripts/docker-entrypoint.sh -o /usr/bin/docker-entrypoint.sh && \ + chmod +x /usr/bin/minio && \ chmod +x /usr/bin/docker-entrypoint.sh && \ curl -s -q -O https://raw.githubusercontent.com/minio/minio/release/CREDITS diff --git a/Dockerfile.arm64.release b/Dockerfile.arm64.release index e891b496a..9a4f1e5c3 100644 --- a/Dockerfile.arm64.release +++ b/Dockerfile.arm64.release @@ -4,7 +4,6 @@ FROM arm64v8/alpine:3.12 LABEL maintainer="MinIO Inc " COPY --from=qemu /usr/bin/qemu-aarch64-static /usr/bin -COPY minio /usr/bin/minio ENV MINIO_UPDATE off ENV MINIO_ACCESS_KEY_FILE=access_key \ @@ -15,7 +14,9 @@ ENV MINIO_ACCESS_KEY_FILE=access_key \ RUN \ apk add --no-cache ca-certificates 'curl>7.61.0' 'su-exec>=0.2' && \ echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' >> /etc/nsswitch.conf && \ + curl -s -q https://dl.min.io/server/minio/release/linux-arm64/minio -o /usr/bin/minio && \ curl -s -q https://raw.githubusercontent.com/minio/minio/release/dockerscripts/docker-entrypoint.sh -o /usr/bin/docker-entrypoint.sh && \ + chmod +x /usr/bin/minio && \ chmod +x /usr/bin/docker-entrypoint.sh && \ curl -s -q -O https://raw.githubusercontent.com/minio/minio/release/CREDITS diff --git a/Dockerfile.ppc64le.release b/Dockerfile.ppc64le.release index f876f40d6..8dc5428fc 100644 --- a/Dockerfile.ppc64le.release +++ b/Dockerfile.ppc64le.release @@ -4,7 +4,6 @@ FROM ppc64le/alpine:3.12 LABEL maintainer="MinIO Inc " COPY --from=qemu /usr/bin/qemu-ppc64le-static /usr/bin -COPY minio /usr/bin/minio ENV MINIO_UPDATE off ENV MINIO_ACCESS_KEY_FILE=access_key \ @@ -15,7 +14,9 @@ ENV MINIO_ACCESS_KEY_FILE=access_key \ RUN \ apk add --no-cache ca-certificates 'curl>7.61.0' 'su-exec>=0.2' && \ echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' >> /etc/nsswitch.conf && \ + curl -s -q https://dl.min.io/server/minio/release/linux-ppc64le/minio -o /usr/bin/minio && \ curl -s -q https://raw.githubusercontent.com/minio/minio/release/dockerscripts/docker-entrypoint.sh -o /usr/bin/docker-entrypoint.sh && \ + chmod +x /usr/bin/minio && \ chmod +x /usr/bin/docker-entrypoint.sh && \ curl -s -q -O https://raw.githubusercontent.com/minio/minio/release/CREDITS diff --git a/Dockerfile.release b/Dockerfile.release index 0f2fc44df..aaa167092 100644 --- a/Dockerfile.release +++ b/Dockerfile.release @@ -2,8 +2,6 @@ FROM alpine:3.12 LABEL maintainer="MinIO Inc " -COPY minio /usr/bin/minio - ENV MINIO_UPDATE off ENV MINIO_ACCESS_KEY_FILE=access_key \ MINIO_SECRET_KEY_FILE=secret_key \ @@ -13,7 +11,9 @@ ENV MINIO_ACCESS_KEY_FILE=access_key \ RUN \ apk add --no-cache ca-certificates 'curl>7.61.0' 'su-exec>=0.2' && \ echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' >> /etc/nsswitch.conf && \ + curl -s -q https://dl.min.io/server/minio/release/linux-amd64/minio -o /usr/bin/minio && \ curl -s -q https://raw.githubusercontent.com/minio/minio/release/dockerscripts/docker-entrypoint.sh -o /usr/bin/docker-entrypoint.sh && \ + chmod +x /usr/bin/minio && \ chmod +x /usr/bin/docker-entrypoint.sh && \ curl -s -q -O https://raw.githubusercontent.com/minio/minio/release/CREDITS diff --git a/Dockerfile.s390x.release b/Dockerfile.s390x.release index 11a8b3c62..9f8a624af 100644 --- a/Dockerfile.s390x.release +++ b/Dockerfile.s390x.release @@ -4,7 +4,6 @@ FROM s390x/alpine:3.12 LABEL maintainer="MinIO Inc " COPY --from=qemu /usr/bin/qemu-s390x-static /usr/bin -COPY minio /usr/bin/minio ENV MINIO_UPDATE off ENV MINIO_ACCESS_KEY_FILE=access_key \ @@ -15,7 +14,9 @@ ENV MINIO_ACCESS_KEY_FILE=access_key \ RUN \ apk add --no-cache ca-certificates 'curl>7.61.0' 'su-exec>=0.2' && \ echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' >> /etc/nsswitch.conf && \ + curl -s -q https://dl.min.io/server/minio/release/linux-s390x/minio -o /usr/bin/minio && \ curl -s -q https://raw.githubusercontent.com/minio/minio/release/dockerscripts/docker-entrypoint.sh -o /usr/bin/docker-entrypoint.sh && \ + chmod +x /usr/bin/minio && \ chmod +x /usr/bin/docker-entrypoint.sh && \ curl -s -q -O https://raw.githubusercontent.com/minio/minio/release/CREDITS