Skip to content

Commit 786b6ee

Browse files
authored
Fix distroless image build. (#69)
1 parent 83cc83c commit 786b6ee

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,10 +1,10 @@
11
# Build the firewall-controller-manager binary
2-
FROM golang:1.23 as builder
2+
FROM golang:1.23 AS builder
33

44
WORKDIR /work
55
COPY . .
66
RUN make
77

88
FROM gcr.io/distroless/static-debian12:nonroot
9-
COPY --from=builder /work/bin/firewall-controller-manager .
9+
COPY --from=builder /work/bin/firewall-controller-manager /firewall-controller-manager
1010
ENTRYPOINT ["/firewall-controller-manager"]

0 commit comments

Comments
 (0)