Remove unneeded env from Dockerfile

This commit is contained in:
Ettore Di Giacinto 2022-09-02 13:28:41 +00:00
parent c61d2993c3
commit 3007dbe917

View File

@ -15,7 +15,7 @@ COPY api/ api/
COPY controllers/ controllers/
# Build
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o manager main.go
RUN CGO_ENABLED=0 go build -a -o manager main.go
# Use distroless as minimal base image to package the manager binary
# Refer to https://github.com/GoogleContainerTools/distroless for more details