From 5655272f5a62f827e6baea6a4cb21a4c3f065c2c Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Fri, 2 Dec 2022 11:19:22 -0800 Subject: [PATCH] ship mc along with MinIO container image (#16156) --- Dockerfile.release | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile.release b/Dockerfile.release index b86fb4cf7..01b1d1625 100644 --- a/Dockerfile.release +++ b/Dockerfile.release @@ -29,13 +29,15 @@ COPY LICENSE /licenses/LICENSE RUN \ microdnf clean all && \ microdnf update --nodocs && \ - microdnf install curl ca-certificates shadow-utils util-linux --nodocs && \ + microdnf install curl ca-certificates shadow-utils util-linux gzip --nodocs && \ rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \ microdnf install minisign --nodocs && \ mkdir -p /opt/bin && chmod -R 777 /opt/bin && \ curl -s -q https://dl.min.io/server/minio/release/linux-${TARGETARCH}/archive/minio.${RELEASE} -o /opt/bin/minio && \ curl -s -q https://dl.min.io/server/minio/release/linux-${TARGETARCH}/archive/minio.${RELEASE}.sha256sum -o /opt/bin/minio.sha256sum && \ curl -s -q https://dl.min.io/server/minio/release/linux-${TARGETARCH}/archive/minio.${RELEASE}.minisig -o /opt/bin/minio.minisig && \ + curl -s -q https://dl.min.io/client/mc/release/linux-${TARGETARCH}/mc -o /opt/bin/mc && \ + gzip /opt/bin/mc && \ microdnf clean all && \ chmod +x /opt/bin/minio && \ chmod +x /usr/bin/docker-entrypoint.sh && \