Skip to content

Commit

Permalink
Merge pull request #61 from rphillips/fixes/add_madvdontneed
Browse files Browse the repository at this point in the history
Bug 1907924: enable madvdontneed for golang
  • Loading branch information
openshift-merge-robot authored Dec 16, 2020
2 parents 0549c9e + 9f2aa5a commit 1ceb456
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion base/Dockerfile.rhel
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ RUN INSTALL_PKGS=" \
yum clean all && rm -rf /var/cache/*

# Enable x509 common name matching for golang 1.15 and beyond.
ENV GODEBUG=x509ignoreCN=0
# Enable madvdontneed=1, for golang < 1.16 https://github.com/golang/go/issues/42330
ENV GODEBUG=x509ignoreCN=0,madvdontneed=1

LABEL io.k8s.display-name="OpenShift Base" \
io.k8s.description="This is the base image from which all OpenShift images inherit."

0 comments on commit 1ceb456

Please sign in to comment.