commit | 339c62eb5bbc939347183f981f0875cc45788732 | [log] [tgz] |
---|---|---|
author | Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> | Thu Mar 23 09:26:07 2023 +0000 |
committer | Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> | Fri Mar 24 08:27:49 2023 +0000 |
tree | 7a3da7b6a354a647a6453dcc9d256dcd5b45604e | |
parent | 1a5e22c812aa988fbfc27a668c1d2541db971080 [diff] |
Change of the Dockerfiles for java image for London rel 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
This project aims to produce a reference ONAP baseline including JAVA 11 following the seccom receommendations 1
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:
docker build . --build-arg java_ver=onap-java11
but in that case --build-arg
is optionaldocker build . --build-arg java_ver=onap-java17
Update Dockerfile to build both Java 11 and Java 17 base images Change base image to eclipse-temurin
Update to Java 11.0.11 on alpine 3.13.5 based on image adoptopenjdk/openjdk11:jre-11.0.11_9-alpine
Update Java to 11.0.9
Added 'openssl' (OpenSSL 1.1.1g 21 Apr 2020)
It is based on adoptopenjdk/openjdk11:jre-11.0.8_10-alpine
Alpine images are GPLv3 free, which is required by the TSC.
It is based on the Debian image 11.0.6-jre-slim.
When you create your docker from this docker you need to copy your jar file under /app/app.jar.
You may specify two env variables to customize the way you are starting java: