File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ RUN --mount=type=cache,target=${GOCACHE} \
25
25
--mount=type=bind,source=/agent,target=./agent \
26
26
--mount=type=bind,source=/operator,target=./operator \
27
27
CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} \
28
- go build -a -o /manager -ldflags="-s - w -X github.com/pulumi/pulumi-kubernetes-operator/v2/operator/version.Version=${VERSION}" ./operator/cmd/main.go
28
+ go build -a -o /manager -ldflags="-w -X github.com/pulumi/pulumi-kubernetes-operator/v2/operator/version.Version=${VERSION}" ./operator/cmd/main.go
29
29
30
30
# Build the agent.
31
31
FROM --platform=${BUILDPLATFORM} base AS agent-builder
@@ -37,7 +37,7 @@ RUN --mount=type=cache,target=${GOCACHE} \
37
37
--mount=type=cache,target=${GOMODCACHE} \
38
38
--mount=type=bind,source=/agent,target=./agent \
39
39
CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} \
40
- go build -a -o /agent -ldflags "-s - w -X github.com/pulumi/pulumi-kubernetes-operator/v2/agent/version.Version=${VERSION}" ./agent/main.go
40
+ go build -a -o /agent -ldflags "-w -X github.com/pulumi/pulumi-kubernetes-operator/v2/agent/version.Version=${VERSION}" ./agent/main.go
41
41
42
42
# Use distroless as minimal base image to package the manager binary
43
43
# Refer to https://github.com/GoogleContainerTools/distroless for more details
You can’t perform that action at this time.
0 commit comments