diff options
author | 2023-03-23 09:26:07 +0000 | |
---|---|---|
committer | 2023-03-24 08:27:49 +0000 | |
commit | 339c62eb5bbc939347183f981f0875cc45788732 (patch) | |
tree | 7a3da7b6a354a647a6453dcc9d256dcd5b45604e /README.md | |
parent | 1a5e22c812aa988fbfc27a668c1d2541db971080 (diff) |
Change of the Dockerfiles for java image for London rel12.0.0
Issue-ID: INT-2214
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: Ice309c620a60d3ac33e695ce4571e0cf21b33a6e
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 18 |
1 files changed, 16 insertions, 2 deletions
@@ -3,8 +3,22 @@ This project aims to produce a reference ONAP baseline including JAVA 11 following the seccom receommendations [1] +## Build + +ONAP Java Dockerfile allows user to build ONAP base Java image based on Java 11 and Java 17. +Building each version depends on build-arg passed by user: + +- Java 11 (default) can be build using `docker build . --build-arg java_ver=onap-java11` but in that case + `--build-arg` is optional +- Java 17 can be build using `docker build . --build-arg java_ver=onap-java17` + ## versions +### 12.0.0 + +Update Dockerfile to build both Java 11 and Java 17 base images +Change base image to eclipse-temurin + ### 9.0.0 Update to Java 11.0.11 on alpine 3.13.5 @@ -33,7 +47,7 @@ under /app/app.jar. You may specify two env variables to customize the way you are starting java: -- ENV JAVA_OPTS: by default set to -Xms256m -Xmx1g -- ENV JAVA_SEC_OPTS: empty by default +- ENV JAVA\_OPTS: by default set to -Xms256m -Xmx1g +- ENV JAVA\_SEC\_OPTS: empty by default [1]: https://git.onap.org/integration/seccom/tree/recommended_versions.yaml |