Merge pull request #8092 from rhatdan/stdin

Podman build should default to not usins stdin
This commit is contained in:
OpenShift Merge Robot 2020-10-21 10:50:45 -04:00 committed by GitHub
commit f96dbd0896
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -282,8 +282,7 @@ func buildFlagsWrapperToOptions(c *cobra.Command, contextDir string, flags *buil
flags.Layers = false
}
var stdin, stdout, stderr, reporter *os.File
stdin = os.Stdin
var stdout, stderr, reporter *os.File
stdout = os.Stdout
stderr = os.Stderr
reporter = os.Stderr
@ -422,7 +421,6 @@ func buildFlagsWrapperToOptions(c *cobra.Command, contextDir string, flags *buil
ForceRmIntermediateCtrs: flags.ForceRm,
IDMappingOptions: idmappingOptions,
IIDFile: flags.Iidfile,
In: stdin,
Isolation: isolation,
Labels: flags.Label,
Layers: flags.Layers,