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 de1c047 commit 9e3e42d
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 \

Check failure on line 12 in 1.1.21.2/Dockerfile

View workflow job for this annotation

GitHub Actions / Lint Dockerfiles with Hadolint

DL3003 info: Use WORKDIR to switch to a directory

Check failure on line 12 in 1.1.21.2/Dockerfile

View workflow job for this annotation

GitHub Actions / Lint Dockerfiles with Hadolint

DL3019 info: Use the `--no-cache` switch to avoid the need to use `--update` and remove `/var/cache/apk/*` when done installing packages

Check failure on line 12 in 1.1.21.2/Dockerfile

View workflow job for this annotation

GitHub Actions / Lint Dockerfiles with Hadolint

SC2086 info: Double quote to prevent globbing and word splitting.

Check failure on line 12 in 1.1.21.2/Dockerfile

View workflow job for this annotation

GitHub Actions / Lint Dockerfiles with Hadolint

DL3047 info: Avoid use of wget without progress bar. Use `wget --progress=dot:giga <url>`. Or consider using `-q` or `-nv` (shorthands for `--quiet` or `--no-verbose`).
wget=1.21.4-r0 \
tar=1.35-r2 \
Expand Down

0 comments on commit 9e3e42d

Please sign in to comment.