diff options
author | Dan Timoney <dtimoney@att.com> | 2020-09-01 16:21:53 -0400 |
---|---|---|
committer | Dan Timoney <dtimoney@att.com> | 2020-09-01 16:24:53 -0400 |
commit | 0b9839e70cb6a3ba1328f37792d33cd1896309ef (patch) | |
tree | 0015f5c1e97ae2f0a2f05e072aa375eb1f7b4806 /alpine/java11/src/main/docker | |
parent | 884302ca87b0544c885d4eb7a95eab3a9593483d (diff) |
Update to use ONAP standard base images
Updated all containers to use one of the 2 approved ONAP base images:
- onap/integration-java11
- onap/integration-python
Change-Id: I961e9af38d790f74528a726a0fc68d1a2e5fbfb9
Issue-ID: CCSDK-2418
Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'alpine/java11/src/main/docker')
-rw-r--r-- | alpine/java11/src/main/docker/Dockerfile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/alpine/java11/src/main/docker/Dockerfile b/alpine/java11/src/main/docker/Dockerfile index af1297c0..d7077f30 100644 --- a/alpine/java11/src/main/docker/Dockerfile +++ b/alpine/java11/src/main/docker/Dockerfile @@ -1,9 +1,7 @@ # Base alpine with added packages needed for open ecomp -FROM alpine:3.11.3 +FROM ${base.image}:${base.image.version} +MAINTAINER CCSDK Team (onap-ccsdk@lists.onap.org) -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 @@ -12,4 +10,8 @@ ENV http_proxy ${HTTP_PROXY} ENV HTTPS_PROXY ${HTTPS_PROXY} ENV https_proxy ${HTTPS_PROXY} -ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk
\ No newline at end of file +ENV JAVA_HOME /opt/java/openjdk +# Add tools needed for OpenDaylight +USER root +RUN apk update && apk --no-cache add bash git maven mysql-client nodejs npm python3 py3-pip graphviz unzip rsync nss +USER onap
\ No newline at end of file |