Skip to content

Commit

Permalink
build: specify the sha256 hash of the alpine image
Browse files Browse the repository at this point in the history
  • Loading branch information
favonia committed Feb 5, 2025
1 parent 3a6454f commit 14fd0b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN \
-o /bin/ddns ./cmd/ddns

# The "alpine" stage can be used directly for debugging network issues.
FROM alpine AS alpine
FROM alpine:3.21.2@sha256:56fa17d2a7e7f168a043a2712e63aed1f8543aeafdcee47c58dcffe38ed51099 AS alpine
RUN apk add --no-cache ca-certificates-bundle
COPY --from=build /bin/ddns /bin/
USER 1000:1000
Expand Down

0 comments on commit 14fd0b1

Please sign in to comment.