File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,11 +8,12 @@ import (
88 "io/ioutil"
99 "os"
1010 "path/filepath"
11- "github.com/cloudfoundry/python-buildpack/src/python/conda"
12- "github.com/cloudfoundry/python-buildpack/src/python/pipfile"
1311 "regexp"
1412 "strings"
1513
14+ "github.com/cloudfoundry/python-buildpack/src/python/conda"
15+ "github.com/cloudfoundry/python-buildpack/src/python/pipfile"
16+
1617 "os/exec"
1718
1819 "github.com/cloudfoundry/libbuildpack"
@@ -582,6 +583,9 @@ func (s *Supplier) UninstallUnusedDependencies() error {
582583
583584func (s * Supplier ) RunPip () error {
584585 s .Log .BeginStep ("Running Pip Install" )
586+ if os .Getenv ("PIP_CERT" ) == "" {
587+ os .Setenv ("PIP_CERT" , "/etc/ssl/certs/ca-certificates.crt" )
588+ }
585589
586590 requirementsPath := filepath .Join (s .Stager .BuildDir (), "requirements.txt" )
587591 if exists , err := libbuildpack .FileExists (requirementsPath ); err != nil {
You can’t perform that action at this time.
0 commit comments