fix(docker): upgrade alpine packages to patch CVE-2025-60876 and CVE-2026-27171
This commit is contained in:
parent
aed5f0475d
commit
3e60a2a056
1 changed files with 2 additions and 1 deletions
|
|
@ -18,7 +18,8 @@ RUN CGO_ENABLED=0 go build -ldflags="-s -w -X github.com/torrentclaw/unarr/inter
|
||||||
# ---- Runtime stage ----
|
# ---- Runtime stage ----
|
||||||
FROM alpine:3.21
|
FROM alpine:3.21
|
||||||
|
|
||||||
RUN apk add --no-cache ca-certificates tzdata
|
RUN apk upgrade --no-cache && \
|
||||||
|
apk add --no-cache ca-certificates tzdata
|
||||||
|
|
||||||
# Non-root user (UID 1000 matches typical host user for volume permissions)
|
# Non-root user (UID 1000 matches typical host user for volume permissions)
|
||||||
RUN addgroup -g 1000 unarr && adduser -u 1000 -G unarr -D -h /home/unarr unarr
|
RUN addgroup -g 1000 unarr && adduser -u 1000 -G unarr -D -h /home/unarr unarr
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue