dockerfileFromStdin returns true when the user specified that the Dockerfile should be read from stdin instead of a file
()
| 68 | // dockerfileFromStdin returns true when the user specified that the Dockerfile |
| 69 | // should be read from stdin instead of a file |
| 70 | func (o buildOptions) dockerfileFromStdin() bool { |
| 71 | return o.dockerfileName == "-" |
| 72 | } |
| 73 | |
| 74 | func newBuildOptions() buildOptions { |
| 75 | ulimits := make(map[string]*container.Ulimit) |