mirror of
https://github.com/containers/podman.git
synced 2025-06-27 21:50:18 +08:00
Merge pull request #8092 from rhatdan/stdin
Podman build should default to not usins stdin
This commit is contained in:
@ -282,8 +282,7 @@ func buildFlagsWrapperToOptions(c *cobra.Command, contextDir string, flags *buil
|
|||||||
flags.Layers = false
|
flags.Layers = false
|
||||||
}
|
}
|
||||||
|
|
||||||
var stdin, stdout, stderr, reporter *os.File
|
var stdout, stderr, reporter *os.File
|
||||||
stdin = os.Stdin
|
|
||||||
stdout = os.Stdout
|
stdout = os.Stdout
|
||||||
stderr = os.Stderr
|
stderr = os.Stderr
|
||||||
reporter = os.Stderr
|
reporter = os.Stderr
|
||||||
@ -422,7 +421,6 @@ func buildFlagsWrapperToOptions(c *cobra.Command, contextDir string, flags *buil
|
|||||||
ForceRmIntermediateCtrs: flags.ForceRm,
|
ForceRmIntermediateCtrs: flags.ForceRm,
|
||||||
IDMappingOptions: idmappingOptions,
|
IDMappingOptions: idmappingOptions,
|
||||||
IIDFile: flags.Iidfile,
|
IIDFile: flags.Iidfile,
|
||||||
In: stdin,
|
|
||||||
Isolation: isolation,
|
Isolation: isolation,
|
||||||
Labels: flags.Label,
|
Labels: flags.Label,
|
||||||
Layers: flags.Layers,
|
Layers: flags.Layers,
|
||||||
|
Reference in New Issue
Block a user