2020-11-05 12:54:41 +00:00
FROM cloudron/base:2.0.0@sha256:f9fea80513aa7c92fe2e7bf3978b54c8ac5222f47a9a32a7f8833edf0eb5a4f4
2020-11-04 16:13:26 +00:00
2020-11-11 00:15:41 +00:00
RUN mkdir -p /app/code
WORKDIR /app/code
ARG VERSION = 2 .22.0
2020-11-07 14:21:18 +00:00
2020-11-11 00:15:41 +00:00
# install Prometheus
RUN curl -L https://github.com/prometheus/prometheus/releases/download/v${ VERSION } /prometheus-${ VERSION } .linux-amd64.tar.gz | tar zxvf - --strip-components 1
2020-11-04 16:13:26 +00:00
2020-11-05 12:54:41 +00:00
COPY start.sh /app/pkg/
2020-11-04 16:13:26 +00:00
2020-11-05 12:54:41 +00:00
CMD [ "/app/pkg/start.sh" ]