updated docker file

This commit is contained in:
Safwan
2025-07-16 18:08:24 +05:00
parent 3999edb7a3
commit 85bd7a075c
+1 -1
View File
@@ -30,7 +30,7 @@ RUN CGO_ENABLED=0 \
GOPROXY=${GOPROXY} \
GOPRIVATE=${GOPRIVATE} \
GO111MODULE=on \
go build -ldflags="-s -w" -installsuffix 'static' -mod=mod -a -o manager main.go
go build -ldflags="-s -w" -installsuffix 'static' -mod=mod -a -o manager ./
# Use distroless as minimal base image to package the manager binary
# Refer to https://github.com/GoogleContainerTools/distroless for more details