minio-app/Dockerfile

16 lines
585 B
Docker

FROM cloudron/base:3.0.0@sha256:455c70428723e3a823198c57472785437eb6eab082e79b3ff04ea584faf46e92
RUN mkdir -p /app/code
WORKDIR /app/code
ARG VERSION=RELEASE.2021-07-15T22-27-34Z
ARG MC_VERSION=RELEASE.2021-06-13T17-48-22Z
RUN wget https://dl.min.io/server/minio/release/linux-amd64/minio.${VERSION} -O /app/code/minio && chmod +x /app/code/minio && \
wget https://dl.min.io/client/mc/release/linux-amd64/mc.${MC_VERSION} -O /app/code/mc && chmod +x /app/code/mc
COPY start.sh /app/code/start.sh
COPY minio-credentials /app/code/minio-credentials
CMD [ "/app/code/start.sh" ]