prometheus-server-app/Dockerfile

13 lines
413 B
Docker
Raw Permalink Normal View History

2022-12-09 16:32:22 +00:00
FROM cloudron/base:4.0.0@sha256:31b195ed0662bdb06a6e8a5ddbedb6f191ce92e8bee04c03fb02dd4e9d0286df
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
2022-12-20 16:01:53 +00:00
ARG VERSION=2.41.0
2020-11-07 14:21:18 +00:00
2020-11-11 00:15:41 +00:00
RUN curl -L https://github.com/prometheus/prometheus/releases/download/v${VERSION}/prometheus-${VERSION}.linux-amd64.tar.gz | tar zxvf - --strip-components 1
2020-11-04 16:13:26 +00:00
COPY default_prometheus_variables.sh 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" ]