dsmiley opened a new pull request #556:
URL: https://github.com/apache/solr/pull/556


   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.
   * I added `su-exec` instead of `gosu` which 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.
   * init-var-solr was using `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.
   * I tested `gradlew testDocker` and it passes.
   * I suspect the official image building might not work because I didn't find 
all of the unix add-ons when converting to `apk`.  I didn't try it yet; this is 
a TODO.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to