summaryrefslogtreecommitdiffstats
path: root/alpine/java11/src
diff options
context:
space:
mode:
authorMichael Dürre <michael.duerre@highstreet-technologies.com>2020-06-29 09:59:57 +0200
committerMichael Dürre <michael.duerre@highstreet-technologies.com>2020-06-29 10:00:12 +0200
commit4ddb1e9253f563fe488b0339e0d9eb02004fb2da (patch)
tree644bad141789d21e678f9e7f2fa24cf672e380bf /alpine/java11/src
parenteebf17072956de4713848115d23263cc24be110f (diff)
add java 11 alpine image
parallel alpine image with java 11 installed Issue-ID: CCSDK-2484 Signed-off-by: Michael Dürre <michael.duerre@highstreet-technologies.com> Change-Id: Ia20a2175ee623f2400327b9fc25265c464780e65
Diffstat (limited to 'alpine/java11/src')
-rw-r--r--alpine/java11/src/main/docker/Dockerfile16
1 files changed, 16 insertions, 0 deletions
diff --git a/alpine/java11/src/main/docker/Dockerfile b/alpine/java11/src/main/docker/Dockerfile
new file mode 100644
index 00000000..9a993e91
--- /dev/null
+++ b/alpine/java11/src/main/docker/Dockerfile
@@ -0,0 +1,16 @@
+# Base alpine with added packages needed for open ecomp
+FROM alpine:3.12
+MAINTAINER CCSDK Team (onap-ccsdk@lists.onap.org)
+
+ARG HTTP_PROXY
+ARG HTTPS_PROXY
+
+ENV HTTP_PROXY ${HTTP_PROXY}
+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