summaryrefslogtreecommitdiffstats
path: root/alpine/java17/src/main/docker/Dockerfile
diff options
context:
space:
mode:
authorMichael Dürre <michael.duerre@highstreet-technologies.com>2023-01-12 12:18:31 +0100
committerMichael Dürre <michael.duerre@highstreet-technologies.com>2023-01-12 12:23:59 +0100
commit408cd42086aa968374c7ebb1d9125a93d7a0a10c (patch)
treef128ddc188608258ee4434ec6e8c5118cf3c3df6 /alpine/java17/src/main/docker/Dockerfile
parent5774938b481d179a2eb43c090c2702c41cf18fb7 (diff)
prepare dist for chlorine
add java17 base image. switch chlorine to j17 Issue-ID: CCSDK-3832 Signed-off-by: Michael Dürre <michael.duerre@highstreet-technologies.com> Change-Id: Ib2f3fd216eac4743a338299385e6bdbe52485275 Signed-off-by: Michael Dürre <michael.duerre@highstreet-technologies.com>
Diffstat (limited to 'alpine/java17/src/main/docker/Dockerfile')
-rw-r--r--alpine/java17/src/main/docker/Dockerfile19
1 files changed, 19 insertions, 0 deletions
diff --git a/alpine/java17/src/main/docker/Dockerfile b/alpine/java17/src/main/docker/Dockerfile
new file mode 100644
index 00000000..192d618b
--- /dev/null
+++ b/alpine/java17/src/main/docker/Dockerfile
@@ -0,0 +1,19 @@
+# Base alpine with added packages needed for open ecomp
+FROM ${base.image}:${base.image.version}
+MAINTAINER CCSDK Team (onap-ccsdk@lists.onap.org)
+USER root
+
+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 /opt/java/openjdk
+
+# Add tools needed for OpenDaylight
+RUN apk update && apk --no-cache add sudo bash iputils openssl git mysql-client nodejs npm python3 py3-pip graphviz unzip rsync nss
+
+USER onap