Skip to content

Commit 4a0905a

Browse files
authored
Merge pull request #43 from Dockermint/fix/dockerfile-hadolint-compliance
fix(container): remove hadolint ignore directives
2 parents 0ebe91a + a4d9df3 commit 4a0905a

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

Dockerfile

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,12 @@ ARG TARGETARCH
88
ARG VERSION=dev
99
ARG REVISION=unknown
1010

11-
# hadolint ignore=DL3018,SC2261
12-
RUN apk add --no-cache ca-certificates>=20260413 tzdata>=2026a
11+
# Alpine package pins are exact (including -rN revision). Rotation to a new
12+
# revision will break this build; bump manually on Alpine package updates.
13+
# Automated bumps deferred to v0.5.x (Renovate config).
14+
RUN apk add --no-cache \
15+
ca-certificates=20260413-r0 \
16+
tzdata=2026a-r0
1317

1418
WORKDIR /build
1519

@@ -46,11 +50,13 @@ LABEL org.opencontainers.image.title="Pebblify" \
4650
org.opencontainers.image.created="${CREATED}" \
4751
org.opencontainers.image.base.name="alpine:3.22"
4852

49-
# hadolint ignore=DL3018,SC2261
53+
# Alpine package pins are exact (including -rN revision). Rotation to a new
54+
# revision will break this build; bump manually on Alpine package updates.
55+
# Automated bumps deferred to v0.5.x (Renovate config).
5056
RUN apk add --no-cache \
51-
ca-certificates>=20260413 \
52-
tzdata>=2026a \
53-
wget>=1.25.0 \
57+
ca-certificates=20260413-r0 \
58+
tzdata=2026a-r0 \
59+
wget=1.25.0-r1 \
5460
&& addgroup -g 10000 pebblify \
5561
&& adduser -D -H -u 10000 -G pebblify -s /sbin/nologin pebblify
5662

0 commit comments

Comments
 (0)