mirror of
https://git.cloudron.io/cloudron/prometheus-server-app.git
synced 2024-12-27 17:40:34 +00:00
13 lines
393 B
Docker
13 lines
393 B
Docker
FROM cloudron/base:3.0.0@sha256:455c70428723e3a823198c57472785437eb6eab082e79b3ff04ea584faf46e92
|
|
|
|
RUN mkdir -p /app/code
|
|
WORKDIR /app/code
|
|
|
|
ARG VERSION=2.23.0
|
|
|
|
# install Prometheus
|
|
RUN curl -L https://github.com/prometheus/prometheus/releases/download/v${VERSION}/prometheus-${VERSION}.linux-amd64.tar.gz | tar zxvf - --strip-components 1
|
|
|
|
COPY start.sh /app/pkg/
|
|
|
|
CMD [ "/app/pkg/start.sh" ]
|