Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Moving from java 8 to java 11 is a security key priority.

The integration project created a A java 11 baseline image including a user and a group ONAP (to avoid running the container as root).

This image can be found at https://gitlab.com/onap-integration/docker/onap-java/

When you create your docker from this docker you need to copy your jar file under 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

The Docker file can be found at:https://gitlab.com/onap-integration/docker/onap-java/-/blob/master/Dockerfile

This image is based on the official openjdk image openjdk:11.0.5-jre-slim

The image is available in the gitlab.com built-in registry: registry.gitlab.com/onap-integration/docker/onap-java

The image is rebuilt everyday (to include possible vulnerability fixes from upstream).

A tag latest and frankfurt have been set.

Please note that moving from the 11.0.5 to the 11.0.6 removed all the criticial vulnerabilities.

Image Removed

https://gitlab.com/onap-integration/docker/onap-java/-/security/dashboard/?project_id=15652149&scope=dismissed&page=1&days=90 for details

...



You can use is by calling:

docker pull nexus3.onap.org:10001/onap/integration-java11:7.0.0