Buildkit: specify name of dockerfile

Created on 13 Oct 2018  路  2Comments  路  Source: moby/buildkit

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 ?

Most helpful comment

--frontend-opt filename=./path/to/Dockerfile-builder

All 2 comments

--frontend-opt filename=./path/to/Dockerfile-builder

Perfect. Thank you.

Maybe consider add that to the instructions or examples?
Cheers

Was this page helpful?
0 / 5 - 0 ratings