prometheus-server-app/Dockerfile

13 lines
397 B
Docker
Raw Normal View History

2024-05-30 19:30:27 +00:00
FROM cloudron/base:5.0.0@sha256:6bec2b5246567ef8b5b13ca0af756e2e596941e440d76b46635211cd84383922
2020-11-04 16:13:26 +00:00
RUN mkdir -p /app/code /app/pkg
2020-11-11 00:15:41 +00:00
WORKDIR /app/code
2024-05-09 11:06:45 +00:00
ARG VERSION=2.52.0
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
2023-05-05 07:08:49 +00:00
COPY env.sh.template 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" ]