2021-12-20 19:00:35 +00:00
FROM cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd14060332dd88263ea
2020-11-04 16:13:26 +00:00
2022-03-08 17:32:22 +00:00
RUN mkdir -p /app/code /app/pkg
2020-11-11 00:15:41 +00:00
WORKDIR /app/code
2022-06-21 05:05:19 +00:00
ARG VERSION = 2 .36.2
2020-11-07 14:21:18 +00:00
2020-11-11 00:15:41 +00:00
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
2022-03-08 17:32:22 +00:00
COPY default_prometheus_variables.sh 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" ]