[
https://issues.apache.org/jira/browse/NIFI-9656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17635011#comment-17635011
]
Kevin Doran commented on NIFI-9656:
-----------------------------------
A number of factors have tipped the scale in favor of changing the NiFi base
image over maintaining backwards compatibility:
* Many users requesting images for arm64 platform
* The current base image, openjdk:8-jre is no longer being maintained
Given this, there is a lot of support for moving eclipse-temurin as a new base
image, which is one of the popular successors to the openjdk images and it
already support multiarch builds. As this will disrupt some users, it seems
like a good time to also move to Java 11.
Lastly, I think I've found a way to restructure our Docker source / build
process to make it much easier to build and publish image variants without a
lot of duplication. I'll be looking into this so we can offer Java 17 variants
soon.
> Publish an alternative Java 11 docker image
> -------------------------------------------
>
> Key: NIFI-9656
> URL: https://issues.apache.org/jira/browse/NIFI-9656
> Project: Apache NiFi
> Issue Type: Wish
> Components: Docker
> Affects Versions: 1.15.3
> Environment: Docker
> Reporter: Christoph Nölle
> Assignee: Kevin Doran
> Priority: Minor
>
> There have been requests before to update the official Docker image to Java
> 11 (such as [NIFI-9188|https://issues.apache.org/jira/browse/NIFI-9188]). As
> I understand, this would be a breaking change for many users, though, and
> therefore has been postponed for Nifi 2.0. On the other hand, it would be
> quite desirable if one could use Java 11 features in custom processors
> (without maintaining a custom Docker image).
> A solution could be to keep Java 8 for the default image (e.g. tagged
> "1.15.3" = latest) and provide a second image, e.g. "1.15.3-openjdk-11". The
> Dockerfile has already been adapted to support building with a Java 11 base
> image in [https://github.com/apache/nifi/pull/4460].
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)