I got this working with
$ buildctl --debug --addr tcp://0.0.0.0:1234 build --frontend dockerfile.v0 --local context=. -local dockerfile=. --exporter=docker --exporter-opt name=node-buildkit | docker load
I've read the documentation, looked at open issues, but couldn't find an answer.
but how can I pass a different dockerfile name, like Dockerfile-builder ?
--frontend-opt filename=./path/to/Dockerfile-builder
Perfect. Thank you.
Maybe consider add that to the instructions or examples?
Cheers
Most helpful comment
--frontend-opt filename=./path/to/Dockerfile-builder