Skip to content

Commit 46cba35

Browse files
klemenfnjanezicmatej
authored andcommitted
chore: use image digests in Dockerfile
1 parent 616ba71 commit 46cba35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# build executable
2-
FROM golang:1.24.4 AS builder
2+
FROM golang:1.24-trixie@sha256:2fdfc9eab462f0367a2234d6de19ae8d43e7980928d170392feaa103c73214e9 AS builder
33

44
WORKDIR /build
55

@@ -13,7 +13,7 @@ COPY . .
1313
# Build the applications
1414
RUN go build -o /app/fdc-client main/main.go
1515

16-
FROM debian:latest AS execution
16+
FROM debian:trixie@sha256:fd8f5a1df07b5195613e4b9a0b6a947d3772a151b81975db27d47f093f60c6e6 AS execution
1717

1818
WORKDIR /app
1919

0 commit comments

Comments
 (0)