summaryrefslogtreecommitdiffstats
path: root/alpine/java17/src/main/docker/Dockerfile
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2023-07-26 10:30:18 -0400
committerDan Timoney <dtimoney@att.com>2023-08-10 14:28:28 -0400
commit1dd9578b9109223a957fd1bfd1ded4f00d072614 (patch)
tree4c9a1ca85e0fc4d251f57051ca008872350a39fd /alpine/java17/src/main/docker/Dockerfile
parent1cd7d6526c05daed8c2de0452479ece1b12b62fd (diff)
Update ccsdk/distribution for ODL Argon
Update ccsdk/distribution to use OpenDaylight Argon release Issue-ID: CCSDK-3926 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I52287f7f0f12dd920ed4d4bb9c7034b7f72078a8
Diffstat (limited to 'alpine/java17/src/main/docker/Dockerfile')
-rw-r--r--alpine/java17/src/main/docker/Dockerfile23
1 files changed, 17 insertions, 6 deletions
diff --git a/alpine/java17/src/main/docker/Dockerfile b/alpine/java17/src/main/docker/Dockerfile
index 192d618b..5018e1af 100644
--- a/alpine/java17/src/main/docker/Dockerfile
+++ b/alpine/java17/src/main/docker/Dockerfile
@@ -3,16 +3,27 @@ FROM ${base.image}:${base.image.version}
MAINTAINER CCSDK Team (onap-ccsdk@lists.onap.org)
USER root
-ARG HTTP_PROXY
-ARG HTTPS_PROXY
+ARG http_proxy
+ARG https_proxy
+ARG no_proxy
-ENV HTTP_PROXY ${HTTP_PROXY}
-ENV http_proxy ${HTTP_PROXY}
-ENV HTTPS_PROXY ${HTTPS_PROXY}
-ENV https_proxy ${HTTPS_PROXY}
+ENV HTTP_PROXY $http_proxy
+ENV http_proxy $http_proxy
+ENV HTTPS_PROXY $https_proxy
+ENV https_proxy $https_proxy
+ENV NO_PROXY $no_proxy
+ENV no_proxy $no_proxy
ENV JAVA_HOME /opt/java/openjdk
+# Copy any certs
+COPY *.md *.pem /etc/ssl/certs/
+
+# Install certs
+RUN update-ca-certificates
+
+RUN echo "http_proxy = $http_proxy" && echo "https_proxy = $https_proxy" && echo "no_proxy = $no_proxy" && echo "HTTP_PROXY = $HTTP_PROXY" && echo "HTTPS_PROXY = $HTTPS_PROXY" && echo "NO_PROXY = $NO_PROXY"
+
# 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