You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Jan Høydahl (Jira)" <ji...@apache.org> on 2022/02/07 12:43:00 UTC

[jira] [Comment Edited] (SOLR-15949) Use Java 17 in docker

    [ https://issues.apache.org/jira/browse/SOLR-15949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17488070#comment-17488070 ] 

Jan Høydahl edited comment on SOLR-15949 at 2/7/22, 12:42 PM:
--------------------------------------------------------------

I'm not going to veto your suggestion, just wanted to ask questions regarding compat break. We have users that inherit Solr images in FROM, and all their Dockerfiles would need re-work.

It's really unfortunate that we'd need to go the opposite direction just because OpenJDK decided to stop releasing official JRE images.

I love the idea of a super slim Solr image!

Just found [eclipse-temurin:17-jre|https://hub.docker.com/layers/eclipse-temurin/library/eclipse-temurin/17-jre/images/sha256-610b21153ad4e0745073dcf2040e7dbb2bee7e9566b42025a2b53055352c62d9?context=explore], which is on a slim Ubuntu, weighing 288Mb (99Mb compressed). Could that be a new default, and then we could optionally publish one on eclipse-temurin:17-jre-alpine in addition? But then we need to maintain two Dockerfiles...


was (Author: janhoy):
I'm not going to veto your suggestion, just wanted to ask questions regarding compat break. We have users that inherit Solr images in FROM, and all their Dockerfiles would need re-work.

It's really unfortunate that we'd need to go the opposite direction just because OpenJDK decided to stop releasing official JRE images.

I love the idea of a super slim Solr image!

Just found [eclipse-temurin:17-jre|https://hub.docker.com/layers/eclipse-temurin/library/eclipse-temurin/17-jre/images/sha256-610b21153ad4e0745073dcf2040e7dbb2bee7e9566b42025a2b53055352c62d9?context=explore], which is on a slim Ubuntu, weighing 288Mb. Could that be a new default, and then we could optionally publish one on eclipse-temurin:17-jre-alpine in addition? But then we need to maintain two Dockerfiles...

> Use Java 17 in docker
> ---------------------
>
>                 Key: SOLR-15949
>                 URL: https://issues.apache.org/jira/browse/SOLR-15949
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Docker
>            Reporter: David Smiley
>            Assignee: David Smiley
>            Priority: Blocker
>             Fix For: 9.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> I propose that our Docker image for Solr 9 use Java 17, the latest LTS release of Java.  A change like this ought to only occur on a major version, and hence I propose doing it now.
> Dev list thread, "Propose Solr 9 *Docker* image use Java 17":
> https://lists.apache.org/thread/rx490w221trqvxdzddv6tp2g411fxstk



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org