2022-01-21 10:31:00 -08:00
|
|
|
FROM cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd14060332dd88263ea
|
2017-01-24 07:06:51 +01:00
|
|
|
|
2021-07-08 09:20:11 +02:00
|
|
|
RUN mkdir -p /app/code
|
|
|
|
WORKDIR /app/code
|
2019-09-08 10:41:34 -07:00
|
|
|
|
2022-03-22 09:06:33 -07:00
|
|
|
ARG VERSION=RELEASE.2022-03-22T02-05-10Z
|
2022-03-17 09:10:34 -07:00
|
|
|
ARG MC_VERSION=RELEASE.2022-03-17T07-21-29Z
|
2017-01-24 07:06:51 +01:00
|
|
|
|
2022-02-06 11:31:28 -08:00
|
|
|
# sometimes here https://dl.min.io/server/minio/release/linux-amd64/archive/
|
2022-02-07 13:10:25 -08:00
|
|
|
RUN wget https://dl.min.io/server/minio/release/linux-amd64/minio.${VERSION} -O /app/code/minio && chmod +x /app/code/minio
|
|
|
|
# https://dl.min.io/client/mc/release/linux-amd64/
|
|
|
|
RUN wget https://dl.min.io/client/mc/release/linux-amd64/mc.${MC_VERSION} -O /app/code/mc && chmod +x /app/code/mc
|
2017-01-24 07:06:51 +01:00
|
|
|
|
2022-01-21 13:28:02 -08:00
|
|
|
COPY env.sh minio-credentials start.sh /app/code/
|
2017-01-24 07:06:51 +01:00
|
|
|
|
|
|
|
CMD [ "/app/code/start.sh" ]
|