mirror of
https://github.com/containers/podman.git
synced 2025-06-27 05:26:50 +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,
|
||||
DefaultMountsFilePath: c.GlobalFlags.DefaultMountsFile,
|
||||
Err: stderr,
|
||||
In: os.Stdin,
|
||||
ForceRmIntermediateCtrs: c.ForceRm,
|
||||
IIDFile: c.Iidfile,
|
||||
Labels: c.Label,
|
||||
|
Reference in New Issue
Block a user