From 6ce97f6ae344f9b543f8b353d18f2f715c96f983 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robbert=20M=C3=BCller?= Date: Sun, 26 Jul 2020 21:18:03 +0200 Subject: [PATCH] :shirt: hadolint fixes --- prometheus/Dockerfile | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/prometheus/Dockerfile b/prometheus/Dockerfile index aca893e..0904495 100755 --- a/prometheus/Dockerfile +++ b/prometheus/Dockerfile @@ -12,20 +12,21 @@ ENV PROMETHEUS_VERSION=2.19.2 # Copy root filesystem COPY rootfs / +# hadolint ignore=DL3003 RUN \ ARCH="${BUILD_ARCH}" \ && if [ "${BUILD_ARCH}" = "aarch64" ]; then ARCH="arm64"; fi \ \ && apk --no-cache add \ - python3 \ - py3-idna \ - py3-certifi \ - py3-chardet \ - py3-yaml \ - py3-urllib3 \ - py3-requests \ + python3=3.8.5-r0 \ + py3-idna=2.9-r0 \ + py3-certifi=2020.4.5.1-r0 \ + py3-chardet=3.0.4-r4 \ + py3-yaml=5.3.1-r0 \ + py3-urllib3=1.25.9-r0 \ + py3-requests=2.23.0-r0 \ && apk --no-cache add --virtual .builddeps \ - py-pip \ + py-pip=20.1.1-r0 \ \ && curl -J -L -o /tmp/prometheus.tar.gz \ "https://github.com/prometheus/prometheus/releases/download/v${PROMETHEUS_VERSION}/prometheus-${PROMETHEUS_VERSION}.linux-${ARCH}.tar.gz" \