This commit is contained in:
aca 2020-07-04 03:46:41 +09:00
parent 966cd03499
commit dd4191ad3d
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ func runCommandInExec(config *v1.Config, buildArgs *dockerfile.BuildArgs, cmdRun
newCommand = cmdRun.CmdLine
// Find and set absolute path of executable by setting PATH temporary
replacementEnvs := buildArgs.ReplacementEnvs(config.Env)
for _, v := range replacementEnvs{
for _, v := range replacementEnvs {
entry := strings.SplitN(v, "=", 2)
if entry[0] != "PATH" {
continue