mirror of
https://git.cloudron.io/cloudron/prometheus-server-app.git
synced 2024-11-25 09:50:59 +00:00
12 lines
413 B
Docker
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.40.4
|
|
|
|
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" ]
|