Moving from java 8 to java 11 is a security key priority.
A java 11 baseline image is available in the nexus.
This project aims to produce a reference ONAP baseline including JAVA 11. It is based on the image 11.0.6-jre-slim. When you create your docker from this docker you need to copy your jar file under /opt/onap/app.jar. You may sepecif 2 env variable to customize the way you are stating java: - ENV JAVA_OPTS: by default set to -Xms256m -Xmx1g - ENV JAVA_SEC_OPTS: empty by default
You can use is by calling:
docker pull nexus3.onap.org:10001/onap/integration-java11:7.0.0