This repository was archived by the owner on Nov 4, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -4,18 +4,27 @@ ARG VCS_REF=master
44ARG BUILD_DATE=""
55ARG REGISTRY_PATH=paritytech
66
7+ ENV PROM_VERSION=2.19.0
8+
79# metadata
810LABEL io.parity.image.authors=
"[email protected] " \
911 io.parity.image.vendor="Parity Technologies" \
1012 io.parity.image.title="${REGISTRY_PATH}/tools" \
11- io.parity.image.description="curl git jq rsync make gettext gnupg bash" \
13+ io.parity.image.description="curl git jq rsync make gettext gnupg bash promtool " \
1214 io.parity.image.source="https://github.com/paritytech/scripts/blob/${VCS_REF}/\
1315dockerfiles/tools/Dockerfile" \
1416 io.parity.image.documentation="https://github.com/paritytech/scripts/blob/${VCS_REF}/\
1517dockerfiles/tools/README.md" \
1618 io.parity.image.revision="${VCS_REF}" \
1719 io.parity.image.created="${BUILD_DATE}"
1820
21+
1922RUN apk add --no-cache curl git jq rsync make gettext gnupg bash
2023
24+ RUN curl -sS -L https://github.com/prometheus/prometheus/releases/download/v${PROM_VERSION}/prometheus-${PROM_VERSION}.linux-amd64.tar.gz \
25+ --output prometheus.tar.gz && \
26+ tar -xzf prometheus.tar.gz prometheus-${PROM_VERSION}.linux-amd64/promtool && \
27+ mv prometheus-${PROM_VERSION}.linux-amd64/promtool /usr/local/bin && \
28+ rm -rf prometheus.tar.gz prometheus-${PROM_VERSION}.linux-amd64
29+
2130CMD /bin/sh
You can’t perform that action at this time.
0 commit comments