From 37d2ca7ea959979b92a1e60aec81ab7d09480e9b Mon Sep 17 00:00:00 2001 From: Steve Breker Date: Fri, 26 Apr 2024 10:15:21 -0700 Subject: [PATCH] Skip rule DL3018 when adding runtime dependencies Skip Hadolint rule DL3018 (Pin versions in apk add) because package list is programmatically generated. --- 1.1.21.2/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/1.1.21.2/Dockerfile b/1.1.21.2/Dockerfile index 6684829..ade092d 100644 --- a/1.1.21.2/Dockerfile +++ b/1.1.21.2/Dockerfile @@ -48,6 +48,8 @@ RUN apk add --no-cache --virtual .build-deps \ | xargs -r apk info --installed || true \ | sort -u \ )" \ +# Package list is programmatically generated. +# hadolint ignore=DL3018 && apk add --virtual .gearmand-rundeps $runDeps \ && apk del .build-deps \ && /usr/local/sbin/gearmand --version