2024-06-19 10:02:33 +00:00
FROM cloudron/base:4.2.0@sha256:46da2fffb36353ef714f97ae8e962bd2c212ca091108d768ba473078319a47f4
2020-11-04 16:13:26 +00:00
2022-03-08 17:32:22 +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 = 2 .54.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" ]