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
I have a reasonably complicated project that uses Maven submodules and Dockerfiles for builds. This works fine without the new buildx configuration but breaks using it. It crashes out with the following error:
[INFO] DOCKER> WARNING: No output specified for docker-container driver. Build result will only remain in the build cache. To push result image into registry use --push or to load image into docker use --load
[INFO] DOCKER> WARNING: local cache import at ......./dmp-buildx-bug/module1/target/docker/dmp-buildx-bug/cache not found due to err: could not read ....../dmp-buildx-bug/module1/target/docker/dmp-buildx-bug/cache/index.json: open ....../dmp-buildx-bug/module1/target/docker/dmp-buildx-bug/cache/index.json: no such file or directory
[INFO] DOCKER> error: failed to solve: failed to read dockerfile: open /tmp/buildkit-mount3293280157/Dockerfile: no such file or directory
[INFO] DOCKER> docker --config ....../dmp-buildx-bug/module1/target/docker/dmp-buildx-bug/docker buildx rm dmp_dmp-buildx-bug
Description
I have a reasonably complicated project that uses Maven submodules and Dockerfiles for builds. This works fine without the new
buildx
configuration but breaks using it. It crashes out with the following error:I've simplified my config into a repo that can reproduce the issue with a simple
mvn clean package
: https://github.com/spmason/dmp-buildx-bugNote that commenting out the
<buildx>
or<dockerFile>
config gets past the error. The same config also works for single-module projectsInfo
mvn -v
) :mvn clean package
The text was updated successfully, but these errors were encountered: