Skip to content

Commit

Permalink
update dockerfile with proper PATHs
Browse files Browse the repository at this point in the history
  • Loading branch information
harshavardhana committed Nov 23, 2021
1 parent 26c4578 commit 3b5d6f0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
9 changes: 6 additions & 3 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
FROM minio/minio:edge
FROM minio/minio

LABEL maintainer="MinIO Inc <[email protected]>"

COPY minio /usr/bin/
ENV PATH=/opt/bin:$PATH

COPY minio /opt/bin
COPY dockerscripts/docker-entrypoint.sh /usr/bin/

RUN chmod +x /usr/bin/minio && \
RUN mkdir -p /opt/bin && chmod -R 777 /opt/bin && \
chmod +x /opt/bin/minio && \
chmod +x /usr/bin/docker-entrypoint.sh

EXPOSE 9000
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.release
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ENV MINIO_ACCESS_KEY_FILE=access_key \
MINIO_KMS_SECRET_KEY_FILE=kms_master_key \
MINIO_UPDATE_MINISIGN_PUBKEY="RWTx5Zr1tiHQLwG9keckT0c45M3AGeHD6IvimQHpyRywVWGbP1aVSGav" \
MINIO_CONFIG_ENV_FILE=config.env \
PATH=$PATH:/opt/bin
PATH=/opt/bin:$PATH

COPY dockerscripts/verify-minio.sh /usr/bin/verify-minio.sh
COPY dockerscripts/docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.release.fips
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ENV MINIO_ACCESS_KEY_FILE=access_key \
MINIO_KMS_SECRET_KEY_FILE=kms_master_key \
MINIO_UPDATE_MINISIGN_PUBKEY="RWTx5Zr1tiHQLwG9keckT0c45M3AGeHD6IvimQHpyRywVWGbP1aVSGav" \
MINIO_CONFIG_ENV_FILE=config.env \
PATH=$PATH:/opt/bin
PATH=/opt/bin:$PATH

COPY dockerscripts/verify-minio.sh /usr/bin/verify-minio.sh
COPY dockerscripts/docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
Expand Down

0 comments on commit 3b5d6f0

Please sign in to comment.