We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d21c23f commit e395c66Copy full SHA for e395c66
environment.go
@@ -22,6 +22,7 @@ func NewEnvironment() Environment {
22
// by the layer path, and the other paths provided as inputs. See PHP documentation
23
// for an explanation of the environment variables' significance.
24
func (e Environment) Configure(layer packit.Layer, extensionsDir string, defaultIniPath string, iniScanDirs []string) error {
25
+ layer.SharedEnv.Prepend("PATH", filepath.Join(layer.Path, "bin"), string(os.PathSeparator))
26
layer.SharedEnv.Prepend("PATH", filepath.Join(layer.Path, "sbin"), string(os.PathListSeparator))
27
layer.SharedEnv.Default("MIBDIRS", filepath.Join(layer.Path, "mibs"))
28
0 commit comments