-
-
Notifications
You must be signed in to change notification settings - Fork 286
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
Dockerized Native Image build failing #1580
Comments
I could make it work with a more recent version of graalvm. From whatever reason
When running the Dockerfile you supplied, the reason for the failure (native-image not being found) is hidden. To expose it, you can create a file like this tmp_reflect_config.sh
And try this Dockerfile
The script above tries to run `plugin.sh directly, so the error about missing native-image becomes visible. Hope this helps! |
Thanks for the help @thesamet! Before we go with this update, it looks like |
Hi @strophy , my intent was to show that the only thing that was needed to make your Dockerfile work was to update to a more recent version of the docker image you have been using. I am not sure what |
I ran into some more problems running the build for ARM64 in QEMU, but updating to the latest |
Hello, following up on #1461 where I received excellent help in building multi-arch ScalaPB for inclusion in https://github.com/rvolosatovs/docker-protobuf
Our build recently started failing with:
This is likely due to the removal of GraalVM Updater from their images. Native Image should now be included with GraalVM directly, so I have removed the
gu install native-image
step, but I'm still unable to get the build to work under x86_64 using the following minimal Dockerfile:The build eventually errors in the
RUN ./make_reflect_config.sh
step with:I've tried setting
NATIVE_IMAGE_INSTALLED
totrue
,false
and omitting it entirely. Could you help me get the protoc plugin build working again? Thanks!The text was updated successfully, but these errors were encountered: