-
Notifications
You must be signed in to change notification settings - Fork 226
Support for JRE 11 #85
Comments
There is a recent PR for this at apache/nifi#4460 |
@banzo we don't really track issues raised here. That's done in the ASF Jira. |
I understand, this issue is just a way for us to prepare for the chart adaptation once the official Docker image is updated. |
More information at https://issues.apache.org/jira/browse/NIFI-9188 Java 11 is a release goal for NiFi version 2.0 |
Meanwhile, as a quick and dirty workaround, one could provide a custom extension of the official image by installing Java 11 into the container and removing Java 8. This adds more layers to the image and probably makes it considerably larger than it would need to be, though. Here is what the Dockerfile could look like: FROM apache/nifi:1.15.3
USER root
RUN apt-get update && \
apt-get install -y openjdk-11-jre && \
rm -rf /usr/local/openjdk-8
ENV JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
USER nifi |
Java 11 is supported since |
The current chart uses the apache/nifi image based on OpenJDK 8 JRE, it would be nice if it can provide JRE 11.
The text was updated successfully, but these errors were encountered: