Skip to content

Commit c55997c

Browse files
Pin dependencies
1 parent 6405e1c commit c55997c

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,4 +1,4 @@
1-
FROM --platform=$BUILDPLATFORM golang:1.24 AS builder
1+
FROM --platform=$BUILDPLATFORM golang:1.24@sha256:81bf5927dc91aefb42e2bc3a5abdbe9bb3bae8ba8b107e2a4cf43ce3402534c6 AS builder
22

33
WORKDIR /workspace
44
COPY go.mod go.mod
@@ -13,7 +13,7 @@ COPY yamlparser/ yamlparser/
1313

1414
RUN CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH go build -a -o kir main.go
1515

16-
FROM gcr.io/distroless/static:nonroot
16+
FROM gcr.io/distroless/static:nonroot@sha256:188ddfb9e497f861177352057cb21913d840ecae6c843d39e00d44fa64daa51c
1717
WORKDIR /
1818
COPY --from=builder /workspace/kir .
1919
USER 65532:65532

0 commit comments

Comments
 (0)