prometheus-server-app/Dockerfile

14 lines
549 B
Docker
Raw Permalink Normal View History

2024-06-19 10:02:33 +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-10-22 19:02:19 +00:00
# renovate: datasource=github-releases depName=prometheus/prometheus versioning=semver extractVersion=^v(?<version>.+)$
ARG PROMETHEUS_VERSION=3.0.1
2020-11-07 14:21:18 +00:00
2024-10-22 19:02:19 +00:00
RUN curl -L https://github.com/prometheus/prometheus/releases/download/v${PROMETHEUS_VERSION}/prometheus-${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" ]