diff options
author | KAPIL SINGAL <ks220y@att.com> | 2020-09-01 14:51:53 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-09-01 14:51:53 +0000 |
commit | ec8f9a31c2791974ed82cee03834308a0e36ace6 (patch) | |
tree | 62a0c3f4fe7056b24075320c14a0f7d592a87051 | |
parent | 91c0be84de698691277dd0511d60294ba9c03641 (diff) | |
parent | 71754136622af9fa269f1a06d97a4a31b804b33f (diff) |
Merge "fix alpine j11 base image"
-rw-r--r-- | alpine/java11/src/main/docker/Dockerfile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/alpine/java11/src/main/docker/Dockerfile b/alpine/java11/src/main/docker/Dockerfile index 9a993e91..af1297c0 100644 --- a/alpine/java11/src/main/docker/Dockerfile +++ b/alpine/java11/src/main/docker/Dockerfile @@ -1,7 +1,9 @@ # Base alpine with added packages needed for open ecomp -FROM alpine:3.12 -MAINTAINER CCSDK Team (onap-ccsdk@lists.onap.org) +FROM alpine:3.11.3 +LABEL maintainer="CCSDK Team (onap-ccsdk@lists.onap.org)" + +RUN apk update && apk add --no-cache openjdk11 python3 graphviz unzip rsync nss mysql-client nodejs ARG HTTP_PROXY ARG HTTPS_PROXY @@ -10,7 +12,4 @@ ENV http_proxy ${HTTP_PROXY} ENV HTTPS_PROXY ${HTTPS_PROXY} ENV https_proxy ${HTTPS_PROXY} -ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk -# Add tools needed for OpenDaylight -RUN apk --no-cache add openjdk11 --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community \ - && apk update && apk --no-cache add bash git openjdk11 maven mysql-client nodejs python3 graphviz unzip rsync nss
\ No newline at end of file +ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk
\ No newline at end of file |