Thanks, Jan.

The issue is created here -
https://github.com/docker-solr/docker-solr/issues/289


On Fri, Jan 31, 2020 at 7:13 PM Jan Høydahl <jan....@cominvent.com> wrote:

> I poked around a bit and ended up reading this thead
> https://github.com/docker-library/openjdk/issues/320 <
> https://github.com/docker-library/openjdk/issues/320>
> Appears that the ‘openjdk’ official docker image is NOT the adoptopenjdk
> disto, but a RedHat-build binary build of the latest official openJDK
> project source code from upstream.
>
> The reason that the URL referenced in openjdk Dockerfile <
> https://github.com/docker-library/openjdk/blob/1b6e2ef66a086f47315f5d05ecf7de3dae7413f2/11/jdk/Dockerfile#L36>
> seems to have AdoptOpenJDK in it is simply because that project has agreed
> to host upstream binaries as well as their own, see
> https://adoptopenjdk.net/upstream.html <
> https://adoptopenjdk.net/upstream.html>
>
> So to summarize:
>
> 1) Solr’s official image uses openjdk docker images
> 2) openjdk docker image uses a RedHat-built «upstream» build of Java
> 3) This means that we are NOT using AdoptOpenJDK, but «Oracle» openjdk,
> although not built and released by Oracle
>
> This is somewhat messy.
>
> In my opinion we should switch docker-solr to using
> adoptopenjdk:11-jre-hotspot as base image.
> Reason I don’t feel like going the Corretto path is that Corretto uses
> AmazonLinux which is RPM based, and they support fewer versions/arch than
> AdoptOpenJDK <https://adoptopenjdk.net/>.
>
> Please open an issue in the docker-solr project and we’ll continue
> discussion there.
>
> Jan
>
> > 31. jan. 2020 kl. 23:29 skrev Chris Hostetter <hossman_luc...@fucit.org
> >:
> >
> >
> > : Link to the issue was helpful.
> > :
> > : Although, when I take a look at Dockerfile for any Solr version from
> here
> > : https://github.com/docker-solr/docker-solr, the very first line says
> > : FROM openjdk...It
> > : does not say FROM adoptopenjdk. Am I missing something?
> >
> > Ahhh ... I have no idea, But at least now I better understand your
> > concern.
> >
> > I would suggest opening an issue / PR in the github:docker-solr repo ...
> > there are plans to eventually officially move managment of docker-solr
> > into the Apache Lucene/Solr project, but for now it's an independent
> > packaging effort...
> >
> > https://github.com/docker-solr/docker-solr/
> > https://github.com/docker-solr/docker-solr/issues/276
> >
> > ...in the meantime: If you can't use openjdk, then as far as i
> understand
> > how docker images work, you'd need to build your own using a patched
> > Dockerfile.
> >
> >
> >
> > -Hoss
> > http://www.lucidworks.com/
>
>

Reply via email to