Skip to content

Commit

Permalink
Merge pull request #8092 from rhatdan/stdin
Browse files Browse the repository at this point in the history
Podman build should default to not usins stdin
  • Loading branch information
openshift-merge-robot authored Oct 21, 2020
2 parents 287edd4 + d72918f commit f96dbd0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cmd/podman/images/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit f96dbd0

Please sign in to comment.