prometheus-server-app/Dockerfile

14 lines
383 B
Docker
Raw Normal View History

2021-12-15 04:35:40 +00:00
FROM cloudron/base:3.1.0@sha256:eb2ab9c7d361acda2f3ef2d8388154bc48f1651b5013fe6de4beea003018e427
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-12-15 04:35:40 +00:00
ARG VERSION=2.32.0
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
COPY docker /
2020-11-04 16:13:26 +00:00
2020-11-05 12:54:41 +00:00
CMD [ "/app/pkg/start.sh" ]