nuest / fastr-docker

FastR Dockerfile
GNU General Public License v3.0
4 stars 1 forks source link

Use JVMCI enabled OpenJDK8 instead of JDK9+ #4

Open steve-s opened 5 years ago

steve-s commented 5 years ago

Hello,

thank you for creating and maintaining this Docker image.

Graal cannot be built with JDK9+ anymore and it needs a JVMCI enabled JDK8. Such OpenJDK8 builds are available at https://github.com/graalvm/openjdk8-jvmci-builder/releases. I think the only thing necessary is just to wget the newest release, decompress it and set it as $JAVA_HOME. With this change, you can probably even base the image on something more generic than jdk-9, maybe some Ubuntu or Alpine Linux image.