Skip to content

Commit 0c923a3

Browse files
Merge pull request #511 from jupierce/exempt_cpb
Allow cpb to be statically compiled / exempt from FIPS compliance
2 parents f9d5c87 + 8b78ba2 commit 0c923a3

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)