minio-app/Dockerfile

15 lines
540 B
Docker

FROM cloudron/base:1.0.0@sha256:147a648a068a2e746644746bbfb42eb7a50d682437cead3c67c933c546357617
RUN mkdir -p /app/code \
&& wget https://dl.minio.io/server/minio/release/linux-amd64/minio.RELEASE.2019-01-16T21-44-08Z -O /app/code/minio \
&& chmod +x /app/code/minio \
&& wget https://dl.minio.io/client/mc/release/linux-amd64/mc.RELEASE.2019-01-10T00-38-22Z -O /app/code/mc \
&& chmod +x /app/code/mc
WORKDIR /app/code
ADD config.json /app/code/config.json
ADD start.sh /app/code/start.sh
CMD [ "/app/code/start.sh" ]