Skip to content

Commit

Permalink
fix: the permissions one more time on /usr/bin
Browse files Browse the repository at this point in the history
  • Loading branch information
harshavardhana committed Sep 15, 2024
1 parent 1123dc3 commit 229f04a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.hotfix
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.release
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.release.fips
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.release.old_cpu
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit 229f04a

Please sign in to comment.