gateway: remove development gateway frontend by jedevc · Pull Request #6350 · moby/buildkit (original) (raw)

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 🎉