Skip to content

Commit

Permalink
Skip rule DL3018 for 'apk add $runDeps'
Browse files Browse the repository at this point in the history
Skip Hadolint rule DL3018 (Pin versions in apk add) because package list
'runDeps' is programmatically generated.
  • Loading branch information
sbreker committed Apr 26, 2024
1 parent 29e4081 commit 3e5c1c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 1.1.21.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ SHELL ["/bin/ash", "-euxo", "pipefail", "-c"]

RUN addgroup -S gearman && adduser -G gearman -S -D -H -s /bin/false -g "Gearman Server" gearman

# Package list 'runDeps' is programmatically generated.
# hadolint ignore=DL3018
RUN apk add --no-cache --virtual .build-deps \
wget=1.21.4-r0 \
tar=1.35-r2 \
Expand Down

0 comments on commit 3e5c1c5

Please sign in to comment.