Skip to content

Commit 0a90046

Browse files
authored
Merge pull request openshift#514 from openshift-cherrypick-robot/cherry-pick-511-to-release-4.10
[release-4.10] Allow cpb to be statically compiled / exempt from FIPS compliance
2 parents 8de38bb + ca3fda5 commit 0a90046

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

operator-lifecycle-manager.Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ ENV GO111MODULE auto
44
ENV GOPATH /go
55
ENV PATH $GOPATH/bin:/usr/local/go/bin:$PATH
66

7+
# Permit the cpb binary to be compiled statically. The Red Hat compiler
8+
# provided by ART will otherwise force FIPS compliant dynamic compilation.
9+
ENV GO_COMPLIANCE_EXCLUDE="build.*operator-lifecycle-manager/util/cpb"
10+
711
WORKDIR /build
812

913
# copy just enough of the git repo to parse HEAD, used to record version in OLM binaries

0 commit comments

Comments
 (0)