minio-upload/Dockerfile

14 lines
321 B
Docker

FROM alpine/curl:8.2.1
LABEL authors="Vladimir <opa_oz> Levin"
RUN curl https://dl.min.io/client/mc/release/linux-amd64/mc \
--create-dirs \
-o $HOME/minio-binaries/mc
RUN chmod +x $HOME/minio-binaries/mc
RUN export PATH=$PATH:$HOME/minio-binaries/
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]