Open cmoulliard opened 1 year ago
Temporary workaround is to set as ENV VAR SSL_CERT_DIR
- https://github.com/redhat-buildpacks/testing/commit/87c186fa58588e48525268e79e19154cdcb579df#diff-a37dde4de2485edb113484a3c30e42bf483b3dd03c055c6b12e3e52e63366de3L57
Not exactly the same but related: https://github.com/buildpacks/lifecycle/issues/524
We go the same problem at work with enterprise signed certificates
Description
When the lifecycle is launched as a pod, the following error is reported during the ANALYZING phase as the go-containerregistry tries to access a secured docker registry which is not running within the kubernetes cluster and where the certificate has been signed by an unknow authority
Proposed solution
Lifecycle should expose additional variables able to configure how it will communicate as client with the container registry:
Additional context
go-container and x.509 unknow certificate authority issue: https://github.com/google/go-containerregistry/issues?q=is%3Aissue+x509%3A+certificate+signed+by+unknown+authority