aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/docker
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 /src/main/docker
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>
Diffstat (limited to 'src/main/docker')
-rw-r--r--src/main/docker/backend/Dockerfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/docker/backend/Dockerfile b/src/main/docker/backend/Dockerfile
index 625d5a9b9..776cc8c10 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