diff options
author | Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> | 2023-03-23 09:26:07 +0000 |
---|---|---|
committer | Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> | 2023-03-24 08:27:49 +0000 |
commit | 339c62eb5bbc939347183f981f0875cc45788732 (patch) | |
tree | 7a3da7b6a354a647a6453dcc9d256dcd5b45604e /Dockerfile | |
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 'Dockerfile')
-rw-r--r-- | Dockerfile | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -1,7 +1,15 @@ -FROM adoptopenjdk/openjdk11:jre-11.0.15_10-alpine +ARG java_ver=onap-java11 -LABEL maintainer="ONAP Integration team, morgan.richomme@orange.com" -LABEL Description="Reference ONAP JAVA 11 image based on alpine" +# Java v11 base image +FROM eclipse-temurin:11.0.18_10-jre-alpine AS onap-java11 + +# Java v17 base image +FROM eclipse-temurin:17.0.6_10-jre-alpine AS onap-java17 + +FROM ${java_ver} AS onap-java-final + +LABEL maintainer="ONAP Integration team" +LABEL Description="Reference ONAP JAVA image based on alpine" ENV JAVA_OPTS="-Xms256m -Xmx1g" ENV JAVA_SEC_OPTS="" |