mirror of
https://git.cloudron.io/cloudron/prometheus-server-app.git
synced 2024-11-24 01:11:01 +00:00
12 lines
397 B
Docker
12 lines
397 B
Docker
FROM cloudron/base:5.0.0@sha256:6bec2b5246567ef8b5b13ca0af756e2e596941e440d76b46635211cd84383922
|
|
|
|
RUN mkdir -p /app/code /app/pkg
|
|
WORKDIR /app/code
|
|
|
|
ARG VERSION=2.53.0
|
|
|
|
RUN curl -L https://github.com/prometheus/prometheus/releases/download/v${VERSION}/prometheus-${VERSION}.linux-amd64.tar.gz | tar zxvf - --strip-components 1
|
|
|
|
COPY env.sh.template start.sh /app/pkg/
|
|
|
|
CMD [ "/app/pkg/start.sh" ]
|