summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--huawei/vnfmadapter/VnfmadapterService/docker/Dockerfile8
1 files changed, 7 insertions, 1 deletions
diff --git a/huawei/vnfmadapter/VnfmadapterService/docker/Dockerfile b/huawei/vnfmadapter/VnfmadapterService/docker/Dockerfile
index 9906ba10..7f0fb6eb 100644
--- a/huawei/vnfmadapter/VnfmadapterService/docker/Dockerfile
+++ b/huawei/vnfmadapter/VnfmadapterService/docker/Dockerfile
@@ -1,11 +1,17 @@
#VFC-1837/VFC-1842 need to validate
FROM python:3.9-alpine
-ARG PKG_VERSION
+ARG HTTP_PROXY=${HTTP_PROXY}
+ARG HTTPS_PROXY=${HTTPS_PROXY}
ENV JAVA_HOME /usr/lib/jvm/jre
ENV CATALINA_HOME /service
+ENV http_proxy $HTTP_PROXY
+ENV https_proxy $HTTPS_PROXY
+ENV pkg_verison=${PKG_VERSION}
+
ADD . /service
WORKDIR /service
+
RUN bash docker-env-config.sh
VOLUME /var/lib/mysql