Rollback to JDK 11 24/98524/1
authorsebdet <sebastien.determe@intl.att.com>
Mon, 18 Nov 2019 16:57:32 +0000 (17:57 +0100)
committersebdet <sebastien.determe@intl.att.com>
Mon, 18 Nov 2019 16:57:32 +0000 (17:57 +0100)
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>
pom.xml
src/main/docker/backend/Dockerfile

diff --git a/pom.xml b/pom.xml
index 4545974..83bc1d0 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                                <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>
index 625d5a9..776cc8c 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 ###\r
 \r
-FROM openjdk:13-alpine3.10\r
+FROM alpine:3.10\r
 \r
 MAINTAINER "The Onap Team"\r
 LABEL Description="This immage contains alpine, openjdk 11 and clamp"\r
@@ -33,6 +33,8 @@ ENV HTTPS_PROXY=$https_proxy
 ENV http_proxy=$HTTP_PROXY\r
 ENV https_proxy=$HTTPS_PROXY\r
 \r
+RUN apk --no-cache add openjdk11 --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community\r
+\r
 RUN addgroup onap && adduser -D -G onap clamp\r
 VOLUME /opt/clamp/config\r
 RUN mkdir /var/log/onap\r