File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,10 +25,6 @@ testbin/*
2525* ~
2626.vscode
2727
28- <<<<<<< HEAD
29- =======
30-
31- >>>>>>> docker-build
3228# binaries
3329build /
3430manager
Original file line number Diff line number Diff line change 11# Build the manager binary
2- FROM golang:1.18 AS builder
2+ FROM golang:1.18 as builder
33
44WORKDIR /workspace
55# Copy the Go Modules manifests
@@ -23,7 +23,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o manager main.go
2323
2424# Use distroless as minimal base image to package the manager binary
2525# Refer to https://github.com/GoogleContainerTools/distroless for more details
26- FROM gcr.io/distroless/static:nonroot AS distroless
26+ FROM gcr.io/distroless/static:nonroot as distroless
2727WORKDIR /
2828COPY --from=builder /workspace/manager .
2929# copy channels
@@ -33,7 +33,7 @@ USER 65532:65532
3333ENTRYPOINT ["/manager" ]
3434
3535
36- FROM busybox AS local-dev
36+ FROM busybox as local-dev
3737WORKDIR /
3838COPY build/manager .
3939USER 65532:65532
You can’t perform that action at this time.
0 commit comments