From 229f04ab7911f4bef7e0029d759f5e22e05e8a8b Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Sun, 15 Sep 2024 16:10:19 -0700 Subject: [PATCH] fix: the permissions one more time on /usr/bin fixes https://github.com/minio/operator/issues/2319 --- Dockerfile | 2 +- Dockerfile.hotfix | 2 +- Dockerfile.release | 2 +- Dockerfile.release.fips | 2 +- Dockerfile.release.old_cpu | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9ee621c4c..693d814d8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM minio/minio:latest -RUN chmod 1777 /usr/bin +RUN chmod -R 777 /usr/bin COPY ./minio /usr/bin/minio COPY dockerscripts/docker-entrypoint.sh /usr/bin/docker-entrypoint.sh diff --git a/Dockerfile.hotfix b/Dockerfile.hotfix index 4097141fa..ad3f1e7b7 100644 --- a/Dockerfile.hotfix +++ b/Dockerfile.hotfix @@ -53,7 +53,7 @@ ENV MINIO_ACCESS_KEY_FILE=access_key \ MINIO_CONFIG_ENV_FILE=config.env \ MC_CONFIG_DIR=/tmp/.mc -RUN chmod 1777 /usr/bin +RUN chmod -R 777 /usr/bin COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ COPY --from=build /go/bin/minio* /usr/bin/ diff --git a/Dockerfile.release b/Dockerfile.release index f76de7b36..8a0147652 100644 --- a/Dockerfile.release +++ b/Dockerfile.release @@ -55,7 +55,7 @@ ENV MINIO_ACCESS_KEY_FILE=access_key \ MINIO_CONFIG_ENV_FILE=config.env \ MC_CONFIG_DIR=/tmp/.mc -RUN chmod 1777 /usr/bin +RUN chmod -R 777 /usr/bin COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ COPY --from=build /go/bin/minio* /usr/bin/ diff --git a/Dockerfile.release.fips b/Dockerfile.release.fips index 25263f067..182ad2b82 100644 --- a/Dockerfile.release.fips +++ b/Dockerfile.release.fips @@ -51,7 +51,7 @@ ENV MINIO_ACCESS_KEY_FILE=access_key \ MINIO_UPDATE_MINISIGN_PUBKEY="RWTx5Zr1tiHQLwG9keckT0c45M3AGeHD6IvimQHpyRywVWGbP1aVSGav" \ MINIO_CONFIG_ENV_FILE=config.env -RUN chmod 1777 /usr/bin +RUN chmod -R 777 /usr/bin COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ COPY --from=build /go/bin/minio* /usr/bin/ diff --git a/Dockerfile.release.old_cpu b/Dockerfile.release.old_cpu index 193b00c6d..5aa607e95 100644 --- a/Dockerfile.release.old_cpu +++ b/Dockerfile.release.old_cpu @@ -53,7 +53,7 @@ ENV MINIO_ACCESS_KEY_FILE=access_key \ MINIO_CONFIG_ENV_FILE=config.env \ MC_CONFIG_DIR=/tmp/.mc -RUN chmod 1777 /usr/bin +RUN chmod -R 777 /usr/bin COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ COPY --from=build /go/bin/minio* /usr/bin/