mirror of
https://github.com/containers/podman.git
synced 2025-06-27 21:50:18 +08:00
build: specify input fd to buildah
It solves a tight loop with poll as stdin will be initialized to /dev/null in buildah/imagebuildah/StageExecutor.Run. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
@ -352,6 +352,7 @@ func buildCmd(c *cliconfig.BuildValues) error {
|
|||||||
ContextDirectory: contextDir,
|
ContextDirectory: contextDir,
|
||||||
DefaultMountsFilePath: c.GlobalFlags.DefaultMountsFile,
|
DefaultMountsFilePath: c.GlobalFlags.DefaultMountsFile,
|
||||||
Err: stderr,
|
Err: stderr,
|
||||||
|
In: os.Stdin,
|
||||||
ForceRmIntermediateCtrs: c.ForceRm,
|
ForceRmIntermediateCtrs: c.ForceRm,
|
||||||
IIDFile: c.Iidfile,
|
IIDFile: c.Iidfile,
|
||||||
Labels: c.Label,
|
Labels: c.Label,
|
||||||
|
Reference in New Issue
Block a user