Skip to content

Commit 9e7eca6

Browse files
Pin dependencies
1 parent 6405e1c commit 9e7eca6

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:14fd8a55e59a560704e5fc44970b301d00d344e45d6b914dda228e09f359a088 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:627d6c5a23ad24e6bdff827f16c7b60e0289029b0c79e9f7ccd54ae3279fb45f
1717
WORKDIR /
1818
COPY --from=builder /workspace/kir .
1919
USER 65532:65532

0 commit comments

Comments
 (0)