-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Native build show no output when using docker 20.10 on ubuntu wsl #32215
Comments
@gmuellerinform when you say:
Do you mean Mandrel/GraalVM 23.0 or Docker 23.0? |
I think I meant Mandrel/GraalVM 23.0. |
So, it fails with Mandrel/GraalVM 22.3, works with 23.0 and fails again with 23.1? That's weird, thanks for the info! Do you happen to know a reliable way to determine whether docker is running in WSL? |
Ah, no. 23.0 works in Windows, but also not in WSL. |
No. But maybe you could rerun the command with '-i' if it succeeds but is empty? |
@gmuellerinform could you please paste the output of |
|
looks suspicious... |
@gmuellerinform how did you install docker? |
Describe the bug
Running
./mvnw clean package -Pnative -Dmaven.test.skip
results in
Checking the command
docker run --env LANG=C --rm --user 1000:1000 --rm quay.io/quarkus/ubi-quarkus-graalvmce-builder-image:22.2-java17 --version
the output is indeed empty on ubuntu wsl with docker 20.10.
Adding the interactive flag
-i
fixes the problem.Also, using 23.0 on windows and with the original command (no additional -i) does show the version.
The same is true for the actual build command. No difference between graalvmce or mandel images.
Expected behavior
See the output of native-image command
Actual behavior
The text was updated successfully, but these errors were encountered: