Skip to content

Commit

Permalink
Skip rule DL3018 when adding runtime dependencies
Browse files Browse the repository at this point in the history
Skip Hadolint rule DL3018 (Pin versions in apk add) because package list
is programmatically generated.
  • Loading branch information
sbreker committed Apr 26, 2024
1 parent de1c047 commit 41f185c
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 @@ -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
Expand Down

0 comments on commit 41f185c

Please sign in to comment.