diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2020-02-28 16:24:06 +0100 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2020-02-28 16:24:08 +0100 |
commit | c59080b463fbb6881638a588f2e73ed59e78ef26 (patch) | |
tree | 92af8f57a7d9dc58795d257a803487664ae084e6 | |
parent | c132a4b7ff1dbe71b70302634fea7dd3b29f76ef (diff) | |
download | podman-c59080b463fbb6881638a588f2e73ed59e78ef26.tar.gz podman-c59080b463fbb6881638a588f2e73ed59e78ef26.tar.bz2 podman-c59080b463fbb6881638a588f2e73ed59e78ef26.zip |
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>
-rw-r--r-- | cmd/podman/build.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/build.go b/cmd/podman/build.go index fa4689211..b8b315c68 100644 --- a/cmd/podman/build.go +++ b/cmd/podman/build.go @@ -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, |