Skip to content

Commit 7bb35bf

Browse files
modem7claude
andcommitted
Add missing hadolint inline ignores (DL3006, DL3018)
DL3006 on the dynamic FROM base-${TARGETARCH} line — version is controlled via ARG, not a literal tag. DL3018 on apk add — already overridden to style in .hadolint.yaml but inline ignore needed to suppress diff annotations. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent b5c24cb commit 7bb35bf

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ ENV S6_OVERLAY_ARCH=x86_64
1414
FROM base AS base-arm64
1515
ENV S6_OVERLAY_ARCH=aarch64
1616

17+
# hadolint ignore=DL3006
1718
FROM base-${TARGETARCH}${TARGETVARIANT}
1819

1920
ARG S6_OVERLAY_VERSION=3.2.3.0
@@ -27,7 +28,7 @@ ENV LANG='en_US.UTF-8' \
2728

2829
# Install system packages first — this layer is independent of S6 and borgmatic
2930
# versions, so it stays cached across S6 bumps and requirements.txt changes.
30-
# hadolint ignore=DL3005,DL3019,DL3059
31+
# hadolint ignore=DL3005,DL3018,DL3019,DL3059
3132
RUN --mount=type=cache,id=apk-${TARGETARCH},target=/etc/apk/cache \
3233
apk upgrade -U && \
3334
apk add -U \

0 commit comments

Comments
 (0)