prometheus-server-app/Dockerfile
2022-06-20 22:05:19 -07:00

12 lines
413 B
Docker

FROM cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd14060332dd88263ea
RUN mkdir -p /app/code /app/pkg
WORKDIR /app/code
ARG VERSION=2.36.2
RUN curl -L https://github.com/prometheus/prometheus/releases/download/v${VERSION}/prometheus-${VERSION}.linux-amd64.tar.gz | tar zxvf - --strip-components 1
COPY default_prometheus_variables.sh start.sh /app/pkg/
CMD [ "/app/pkg/start.sh" ]