mirror of
https://git.cloudron.io/cloudron/prometheus-server-app.git
synced 2024-11-21 16:01:03 +00:00
12 lines
397 B
Docker
12 lines
397 B
Docker
FROM cloudron/base:4.0.0@sha256:31b195ed0662bdb06a6e8a5ddbedb6f191ce92e8bee04c03fb02dd4e9d0286df
|
|
|
|
RUN mkdir -p /app/code /app/pkg
|
|
WORKDIR /app/code
|
|
|
|
ARG VERSION=2.43.1
|
|
|
|
RUN curl -L https://github.com/prometheus/prometheus/releases/download/v${VERSION}/prometheus-${VERSION}.linux-amd64.tar.gz | tar zxvf - --strip-components 1
|
|
|
|
COPY env.sh.template start.sh /app/pkg/
|
|
|
|
CMD [ "/app/pkg/start.sh" ]
|