Conversation
azul/zulu-openjdk-alpine:17-jre-headless Also switched OS from Debian to Alpine. WIP
|
I saw this JIRA issue about |
|
FYI https://hub.docker.com/r/azul/zulu-openjdk-alpine/tags |
|
As for the change from debian to alpine, I don't think we can use that image as our default base image: https://github.com/docker-library/official-images#repeatability Official images can't be built on top of non-official images. |
This reverts commit 4c1231d.
janhoy
left a comment
There was a problem hiding this comment.
Propose we use eclipse-temurin:17-jre which is an official jre image, slimmer than openjdk:17-slim.
Co-authored-by: Jan Høydahl <janhoy@users.noreply.github.com>
Co-authored-by: Jan Høydahl <janhoy@users.noreply.github.com>
|
Tested |
HoustonPutman
left a comment
There was a problem hiding this comment.
Looks good to me too.
# Conflicts: # solr/CHANGES.txt # solr/solr-ref-guide/modules/upgrade-notes/pages/major-changes-in-solr-9.adoc
Specifically eclipse-temurin:17-jre Co-authored-by: Jan Høydahl <janhoy@users.noreply.github.com>
Specifically eclipse-temurin:17-jre Co-authored-by: Jan Høydahl <janhoy@users.noreply.github.com>
azul/zulu-openjdk-alpine:17-jre-headless
Also switched OS from Debian to Alpine. WIP
https://issues.apache.org/jira/browseSOLR-15949
It wasn't easy to find a Java 17 JRE in Docker hub but I ultimately did with Azul. I trust them.
In my attempt to do this, I wound up choosing Alpine, which is another, perhaps bigger change. I'd be happy to move this off to another issue; I really should but I'm pushing this now to show what I have since I put time into it. I think most edits and possible further TODO in this PR are due to Alpine.
su-execinstead ofgosuwhich I found easier to install, and I hear it's smaller. I removed to gosu test; honestly I'm not sure where it's used -- if nowhere then maybe we don't need a test.cp -a ...but I saw warnings because the owner couldn't be preserved, which makes sense. This could be done independently of this PR; it may not be related but it was a warning I saw.gradlew testDockerand it passes.apk. I didn't try it yet; this is a TODO.