mirror of
https://git.cloudron.io/cloudron/prometheus-server-app.git
synced 2024-12-28 01:50:31 +00:00
9c586976ad
| datasource | package | from | to | | --------------- | --------------------- | ------ | ----- | | github-releases | prometheus/prometheus | 2.55.1 | 3.0.0 |
13 lines
549 B
Docker
13 lines
549 B
Docker
FROM cloudron/base:4.2.0@sha256:46da2fffb36353ef714f97ae8e962bd2c212ca091108d768ba473078319a47f4
|
|
|
|
RUN mkdir -p /app/code /app/pkg
|
|
WORKDIR /app/code
|
|
|
|
# renovate: datasource=github-releases depName=prometheus/prometheus versioning=semver extractVersion=^v(?<version>.+)$
|
|
ARG PROMETHEUS_VERSION=3.0.0
|
|
|
|
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
|
|
|
|
COPY env.sh.template start.sh /app/pkg/
|
|
|
|
CMD [ "/app/pkg/start.sh" ]
|