Update module github.com/openshift/imagebuilder to v1.2.15

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
renovate[bot]
2024-08-22 15:57:06 +00:00
committed by GitHub
parent 77f5b4d678
commit 215af114ab
43 changed files with 1378 additions and 371 deletions

View File

@ -18,6 +18,7 @@ import (
buildkitparser "github.com/moby/buildkit/frontend/dockerfile/parser"
buildkitshell "github.com/moby/buildkit/frontend/dockerfile/shell"
"github.com/openshift/imagebuilder/dockerfile/command"
"github.com/openshift/imagebuilder/internal"
)
// Node is a structure used to represent a parse tree.
@ -408,7 +409,7 @@ func heredocsFromLine(line string) ([]buildkitparser.Heredoc, error) {
shlex.RawQuotes = true
shlex.RawEscapes = true
shlex.SkipUnsetEnv = true
words, _ := shlex.ProcessWords(line, []string{})
words, _ := shlex.ProcessWords(line, internal.EnvironmentSlice([]string{}))
var docs []buildkitparser.Heredoc
for _, word := range words {