Skaronator opened a new issue #7859:
URL: https://github.com/apache/pulsar/issues/7859


   **Is your enhancement request related to a problem? Please describe.**
   The current docker images are built with Java 8. According to the [2.3.0 - 
2019-02-20](https://pulsar.apache.org/release-notes/#230-mdash-2019-02-20-a-id230a)
 changelog Pulsar supports Java 11 since version 
   
   Java 8 and Docker doesn't work that well together. Some things got 
backported to Java 8 but only Java 10+ supports Memory and CPU limits inside 
Docker Containers correctly. More on that here: 
https://www.royvanrijn.com/blog/2018/05/java-and-docker-memory-limits/
   
   
   **Describe the solution you'd like**
   I'd like to see Docker Images that use Java 11 & use the correct start 
parameters by default. The current images rely on openjdk:8
   
   
https://github.com/apache/pulsar/blob/b410274554508684f4a15cc1f5a98a71d85fbe2e/docker/pulsar/Dockerfile#L41
   
https://github.com/apache/pulsar/blob/b410274554508684f4a15cc1f5a98a71d85fbe2e/docker/pulsar-standalone/Dockerfile#L27
   
   **Describe alternatives you've considered**
   Alternatively there could be a java11 version of the image, parallel to the 
current images. Like "2.7.0" and "2.7.0-java11" 
https://hub.docker.com/r/apachepulsar/pulsar/tags
   


----------------------------------------------------------------
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.

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


Reply via email to