Skip to content

gateway: remove development gateway frontend - #6350

Merged
jedevc merged 1 commit into
moby:masterfrom
jedevc:remove-development-gateway
Nov 13, 2025
Merged

jedevc merged 1 commit into
moby:masterfrom
jedevc:remove-development-gateway

Conversation

@jedevc

@jedevc jedevc commented Nov 11, 2025 •

Copy link
Copy Markdown
Member

This legacy pathway wasn't being used anywhere and has since been succeeded by using named-contexts to modify the syntax directive.

This was added all the back in #134, but no one seems to have been relying on this internal option: see https://github.com/search?type=code&q=%5C%22gateway-devel%5C%22.

If anyone was using it (for prototyping a local frontend for instance), you can instead replace it using named contexts, e.g. to build the dockerfile frontend, and then use it to replace a #syntax=foobar directive:

docker buildx build . --file=./frontend/dockerfile/cmd/dockerfile-frontend/Dockerfile --output type=oci,dest=./build/dockerfile,tar=false
docker buildx build . --build-context foobar=oci-layout://./build/dockerfile

Or using bake target:s also works 🎉

@tonistiigi tonistiigi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should leave a clean error in case someone is passing these opts for some releases. So they know to upgrade instead of the parameters just getting ignored.

This legacy pathway wasn't being used anywhere and has since been
succeeded by using named-contexts to modify the syntax directive.
We still error out explicitly though.

Signed-off-by: Justin Chadwell <me@jedevc.com>
@jedevc
jedevc force-pushed the remove-development-gateway branch from 40ec3bc to d543859 Compare November 12, 2025 13:50
@jedevc

jedevc commented Nov 12, 2025

Copy link
Copy Markdown
Member Author

Done 🎉

@jedevc
jedevc requested a review from tonistiigi November 12, 2025 18:00
@jedevc
jedevc merged commit e7fa8f8 into moby:master Nov 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants