You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since updating to v0.9.0 released yesterday, i get this error whenever I try to build with bake.
docker buildx bake -f docker-compose.yaml --load
[+] Building 0.0s (4/4) FINISHED
=> [db internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 2B 0.0s
=> [db internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> CANCELED [app internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> CANCELED [app internal] load build definition from Dockerfile 0.0s
ERROR: failed to solve: failed to read dockerfile: open /tmp/buildkit-mount1176813038/Dockerfile: no such file or directory
I can reproduce it both locally and in my CD/CI pipelines, and can confirm that the problem doesn't exist with version 0.8.2.
From comparing what is produced with the --print option from a simple Dockerfile with a custom app and a DB, it seems like buildx tries to build every single service, including ones that should not be built (i.e., in the docker-compose.yaml definitions, there is only an image specified for the service, and no "build" key). Then, when it can't find the Dockerfile for services that aren't meant to be built, it fails.
Hello!
First of all, thanks for all your hard work.
Since updating to v0.9.0 released yesterday, i get this error whenever I try to build with bake.
I can reproduce it both locally and in my CD/CI pipelines, and can confirm that the problem doesn't exist with version 0.8.2.
From comparing what is produced with the
--print
option from a simple Dockerfile with a custom app and a DB, it seems like buildx tries to build every single service, including ones that should not be built (i.e., in the docker-compose.yaml definitions, there is only an image specified for the service, and no "build" key). Then, when it can't find the Dockerfile for services that aren't meant to be built, it fails.Output of `--print` on 0.8.2
Output of `--print` on 0.9.0
Files
docker-compose.yaml
app/Dockerfile
My Docker Info
Thank you for your help!
The text was updated successfully, but these errors were encountered: