Skip to content

Conversation

@thaJeztah
Copy link
Member

cli/command/image/build: deprecate DefaultDockerfileName const

It was only used internal in the package.

cli/command/image/build: deprecate DetectArchiveReader util

It was only used internal in the package.

cli/command/image/build: deprecate WriteTempDockerfile util

It was only used internal in the package.

cli/command/image/build: deprecate ResolveAndValidateContextPath util

This utility was used internally and will be removed in the next release.
Use DetectContextType to detect the context-type, and use GetContextFromLocalDir,
GetContextFromLocalDir, GetContextFromGitURL, or GetContextFromURL
instead.

- Human readable description for the release notes

Go SDK: cli/command/image/build: deprecate `DefaultDockerfileName`, `DetectArchiveReader`, `WriteTempDockerfile`, `ResolveAndValidateContextPath`. These utilities were only used internally and will be removed in the next release.

- A picture of a cute animal (not mandatory but encouraged)

It was only used internal in the package.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
It was only used internal in the package.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
It was only used internal in the package.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
This utility was used internally and will be removed in the next release.
Use `DetectContextType` to detect the context-type, and use `GetContextFromLocalDir`,
`GetContextFromLocalDir`, `GetContextFromGitURL`, or `GetContextFromURL`
instead.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah added this to the 29.0.0 milestone Oct 13, 2025
@thaJeztah thaJeztah added impact/deprecation area/builder area/builder/classic-builder kind/refactor PR's that refactor, or clean-up code area/go-sdk Changes affecting the Go SDK impact/go-sdk Noteworthy (compatibility changes) in the Go SDK process/cherry-pick/28.x labels Oct 13, 2025
@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 71.42857% with 4 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
cli/command/image/build/context.go 71.42% 4 Missing ⚠️

📢 Thoughts on this report? Let us know!

@thaJeztah thaJeztah requested review from Benehiko and vvoland October 14, 2025 07:18
@thaJeztah thaJeztah merged commit 07a79d6 into docker:master Oct 14, 2025
108 checks passed
@thaJeztah thaJeztah deleted the deprecate_builder_utils branch October 14, 2025 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/builder/classic-builder area/builder area/go-sdk Changes affecting the Go SDK impact/deprecation impact/go-sdk Noteworthy (compatibility changes) in the Go SDK kind/refactor PR's that refactor, or clean-up code process/cherry-pick/28.x

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants