MCPcopy Index your code
hub / github.com/docker/cli / dockerfileFromStdin

Method dockerfileFromStdin

cli/command/image/build.go:70–72  ·  view source on GitHub ↗

dockerfileFromStdin returns true when the user specified that the Dockerfile should be read from stdin instead of a file

()

Source from the content-addressed store, hash-verified

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

Callers 1

runBuildFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected