mirror of
https://git.cloudron.io/cloudron/prometheus-server-app.git
synced 2024-11-24 09:21:00 +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.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" ]
|