prometheus-server-app/Dockerfile

13 lines
397 B
Docker
Raw Normal View History

2023-09-30 03:03:31 +00:00
FROM cloudron/base:4.2.0@sha256:46da2fffb36353ef714f97ae8e962bd2c212ca091108d768ba473078319a47f4
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-03-29 08:25:41 +00:00
ARG VERSION=2.51.1
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" ]