Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ RUN CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH go build -trimpath -ldflags=

# The debroxy user and /data, made on the build platform; the same Alpine
# release, so its account files fit the target image.
FROM --platform=$BUILDPLATFORM alpine:3.24.2 AS accounts
FROM --platform=$BUILDPLATFORM alpine:3.24.3 AS accounts
RUN addgroup -S -g 65532 debroxy \
&& adduser -S -D -H -u 65532 -G debroxy -h /data debroxy \
&& install -d -o debroxy -g debroxy -m 0700 /data

FROM alpine:3.24.2
FROM alpine:3.24.3
# The base image already carries the CA bundle (ca-certificates-bundle).
# A new named volume takes /data's owner: the non-root debroxy user.
COPY --from=accounts /etc/passwd /etc/group /etc/shadow /etc/
Expand Down