2020-12-08 14:14:06 -05:00
|
|
|
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.3
|
|
|
|
|
|
|
|
ARG TARGETARCH
|
2017-10-10 17:17:16 -04:00
|
|
|
|
2019-04-09 14:39:42 -04:00
|
|
|
LABEL maintainer="MinIO Inc <dev@min.io>"
|
2017-10-10 17:17:16 -04:00
|
|
|
|
2019-08-17 15:44:04 -04:00
|
|
|
COPY dockerscripts/docker-entrypoint.sh /usr/bin/
|
2018-09-25 13:33:25 -04:00
|
|
|
COPY minio /usr/bin/
|
|
|
|
|
2020-12-08 14:14:06 -05:00
|
|
|
ENV MINIO_UPDATE=off \
|
2021-04-29 13:55:05 -04:00
|
|
|
MINIO_ACCESS_KEY_FILE=access_key \
|
|
|
|
MINIO_SECRET_KEY_FILE=secret_key \
|
2021-01-05 13:22:57 -05:00
|
|
|
MINIO_ROOT_USER_FILE=access_key \
|
|
|
|
MINIO_ROOT_PASSWORD_FILE=secret_key \
|
2021-04-22 11:45:30 -04:00
|
|
|
MINIO_KMS_SECRET_KEY_FILE=kms_master_key
|
2017-10-10 17:17:16 -04:00
|
|
|
|
2021-02-22 13:32:21 -05:00
|
|
|
RUN microdnf update --nodocs
|
|
|
|
RUN microdnf install curl ca-certificates shadow-utils util-linux --nodocs
|
|
|
|
RUN microdnf clean all && \
|
2020-12-08 14:14:06 -05:00
|
|
|
chmod +x /usr/bin/minio && \
|
|
|
|
chmod +x /usr/bin/docker-entrypoint.sh
|
2017-10-10 17:17:16 -04:00
|
|
|
|
|
|
|
EXPOSE 9000
|
|
|
|
|
|
|
|
ENTRYPOINT ["/usr/bin/docker-entrypoint.sh"]
|
|
|
|
|
2018-03-13 21:29:27 -04:00
|
|
|
VOLUME ["/data"]
|
2017-10-10 17:17:16 -04:00
|
|
|
|
|
|
|
CMD ["minio"]
|