Skip to content

Commit fa1eda4

Browse files
committed
chore(bin): strip symbol table and debug for DaemonSet to save space
Ref: openshift/enhancements#2021
1 parent 55b3242 commit fa1eda4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile.art

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ENV CGO_ENABLED=1
66
COPY . /opt/app-root/src
77
WORKDIR /opt/app-root/src
88

9-
RUN make build LDFLAGS="-tags strictfipsruntime"
9+
RUN make build LDFLAGS="-tags strictfipsruntime -ldflags '-s -w'"
1010

1111
FROM registry.redhat.io/ubi9/ubi-minimal:9.7
1212

0 commit comments

Comments
 (0)