16 lines
628 B
Docker
16 lines
628 B
Docker
FROM cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd14060332dd88263ea
|
|
|
|
RUN mkdir -p /app/code
|
|
WORKDIR /app/code
|
|
|
|
ARG VERSION=RELEASE.2022-02-07T08-17-33Z
|
|
ARG MC_VERSION=RELEASE.2022-02-02T02-03-24Z
|
|
|
|
# sometimes here https://dl.min.io/server/minio/release/linux-amd64/archive/
|
|
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 env.sh minio-credentials start.sh /app/code/
|
|
|
|
CMD [ "/app/code/start.sh" ]
|