Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on docker build: failed to walk /var/lib/docker/tmp/buildkit-mount.../target/quarkus-app: lstat /var/lib/docker/tmp/buildkit-mount.../target/quarkus-app: no such file or directory #1249

Open
haardCoder opened this issue Oct 25, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@haardCoder
Copy link

haardCoder commented Oct 25, 2023

Describe the bug
Error happens on docker build command in azure pipeline. It fail on command "COPY --chown=185 target/quarkus-app/quarkus/ /deployments/quarkus/" in Dockerfile.jvm.

ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref e9...dg: failed to walk /var/lib/docker/tmp/buildkit-mount.../target/quarkus-app: lstat /var/lib/docker/tmp/buildkit-mount.../target/quarkus-app: no such file or directory

To Reproduce
Steps to reproduce the behavior:

  1. create a new Quarkus Azure Function Http project (from code.quarkus.io, or Intelij) with sample code (nothing changed by myself).
  2. push project to Repo and Azure Pipeline execute commands:
  3. mvn clear pakage (ok, but it doesn't create a /target/quarkus-app folder)
  4. docker build with Dockerfile.jvm -> ERROR because /target/quarkus-app folder doesn't exist.

Screenshots
Quarkus_Docker_Build_Error

@haardCoder haardCoder added the bug Something isn't working label Oct 25, 2023
@haardCoder haardCoder changed the title Error on docker build: failed to walk /var/lib/docker/tmp/buildkit-mountXYZ/target/quarkus-app: lstat /var/lib/docker/tmp/buildkit-mountXYZ/target/quarkus-app: no such file or directory Error on docker build: failed to walk /var/lib/docker/tmp/buildkit-mount.../target/quarkus-app: lstat /var/lib/docker/tmp/buildkit-mount.../target/quarkus-app: no such file or directory Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant