aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2019-11-18 17:57:32 +0100
committersebdet <sebastien.determe@intl.att.com>2019-11-18 17:57:32 +0100
commite17bc1b801b50c1066414b30b21aa55236932284 (patch)
tree106a4390d921eb04e1936cc9b91d454ad50e1906
parent4dc849f66bf9c8749ca8d2ef228fceee4d358ca1 (diff)
Rollback to JDK 11
Reverting JDK to 11 as deciced by the SECCOM Issue-ID: CLAMP-553 Change-Id: I69bbf2b961616ae566e43cab944bd0daf5295a34 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
-rw-r--r--pom.xml4
-rw-r--r--src/main/docker/backend/Dockerfile4
2 files changed, 5 insertions, 3 deletions
diff --git a/pom.xml b/pom.xml
index 45459741..83bc1d06 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1174,8 +1174,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
- <source>13</source>
- <target>13</target>
+ <source>11</source>
+ <target>11</target>
</configuration>
</plugin>
<plugin>
diff --git a/src/main/docker/backend/Dockerfile b/src/main/docker/backend/Dockerfile
index 625d5a9b..776cc8c1 100644
--- a/src/main/docker/backend/Dockerfile
+++ b/src/main/docker/backend/Dockerfile
@@ -21,7 +21,7 @@
#
###
-FROM openjdk:13-alpine3.10
+FROM alpine:3.10
MAINTAINER "The Onap Team"
LABEL Description="This immage contains alpine, openjdk 11 and clamp"
@@ -33,6 +33,8 @@ ENV HTTPS_PROXY=$https_proxy
ENV http_proxy=$HTTP_PROXY
ENV https_proxy=$HTTPS_PROXY
+RUN apk --no-cache add openjdk11 --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community
+
RUN addgroup onap && adduser -D -G onap clamp
VOLUME /opt/clamp/config
RUN mkdir /var/log/onap