Skip to content

Commit bc443e6

Browse files
committed
cli/command/image/build: remove deprecated WriteTempDockerfile util
It was deprecated in 6e1ff0b Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 77f4ff5 commit bc443e6

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

cli/command/image/build/context.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -111,15 +111,6 @@ func detectArchiveReader(input io.ReadCloser) (rc io.ReadCloser, ok bool, err er
111111
return newReadCloserWrapper(buf, func() error { return input.Close() }), isArchive(magic), nil
112112
}
113113

114-
// WriteTempDockerfile writes a Dockerfile stream to a temporary file with a
115-
// name specified by defaultDockerfileName and returns the path to the
116-
// temporary directory containing the Dockerfile.
117-
//
118-
// Deprecated: this utility was only used internally, and will be removed in the next release.
119-
func WriteTempDockerfile(rc io.ReadCloser) (dockerfileDir string, err error) {
120-
return writeTempDockerfile(rc)
121-
}
122-
123114
// writeTempDockerfile writes a Dockerfile stream to a temporary file with a
124115
// name specified by defaultDockerfileName and returns the path to the
125116
// temporary directory containing the Dockerfile.

0 commit comments

Comments
 (0)