prometheus-server-app/Dockerfile

14 lines
393 B
Docker
Raw Normal View History

2021-02-21 02:06:02 +00:00
FROM cloudron/base:3.0.0@sha256:455c70428723e3a823198c57472785437eb6eab082e79b3ff04ea584faf46e92
2020-11-04 16:13:26 +00:00
2020-11-11 00:15:41 +00:00
RUN mkdir -p /app/code
WORKDIR /app/code
2021-05-20 01:24:25 +00:00
ARG VERSION=2.27.1
2020-11-07 14:21:18 +00:00
2020-11-11 00:15:41 +00:00
# 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
2020-11-04 16:13:26 +00:00
2020-11-05 12:54:41 +00:00
COPY 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" ]