-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
fast-jar : COPY target/quarkus-app/lib : no such file or directory #12324
Comments
Hi @yurake: I think that the steps you used are not correct. Please try:
|
Hi @iocanel, I tried your suggestion on my MacBook but still not worked.
|
I unassigned myself, as I am not an OSX user and this is possibly related to how docker on OSX works. |
This error has occurred both on OSX and on GitHub Actions. |
Is this still an issue? |
Yes it is still an issue. Azure devops has this error too. |
But is your |
I also experimented this error on centos7 VM using podman. |
I have the issue solved, when I upgrade Quarkus version 1.8.1-Final to 1.13.2.Final.
|
An important note for those that were upgrading from 1.11 (or older) is to update the .dockerignore file accordingly to the latest version, specially when using legacy mode - as pointed out above, on 1.12 they have made the fast jar the default option and, since a new directory structure have been added (quarkus-app) we need to prevent the cleanup of this directory (and it's sub-directories) to be available during the Docker Build Context.
|
hey! i fixed dockerignore but seems the problem not gone, could you help me?
|
I found that having |
Describe the bug
docker build using Dockerfile.fast-jar is failed.
Expected behavior
docker image was created.
Actual behavior
To Reproduce
Link to a small reproducer (preferably a Maven project if the issue is not Gradle-specific).
Or attach an archive containing the reproducer to the issue.
Steps to reproduce the behavior:
Configuration
Environment (please complete the following information):
java -version
:openjdk version "11.0.8" 2020-07-14
OpenJDK Runtime Environment GraalVM CE 20.2.0 (build 11.0.8+10-jvmci-20.2-b03)
OpenJDK 64-Bit Server VM GraalVM CE 20.2.0 (build 11.0.8+10-jvmci-20.2-b03, mixed mode, sharing)
1.8.1-Final
The text was updated successfully, but these errors were encountered: