summaryrefslogtreecommitdiffstats
path: root/mgr/docker/Dockerfile
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2019-05-10 17:51:43 +0800
committeryangyan <yangyanyj@chinamobile.com>2019-05-10 17:51:54 +0800
commitcb5654fe263079ed7ffb908620fd7cfde3a74e58 (patch)
treef9290647cf7ca42fadc1e0bffe98ae4d91c16f57 /mgr/docker/Dockerfile
parentfa6078ef73eb4838ab9dee1fba8e7b1fbf3c9131 (diff)
Add ARG and PKG_VERSION to Dockerfile
Change-Id: Id88d20078a21094c5f5c2167d1b8ec8c95e46592 Issue-ID: VFC-1383 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'mgr/docker/Dockerfile')
-rw-r--r--mgr/docker/Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/mgr/docker/Dockerfile b/mgr/docker/Dockerfile
index b12a873..fa69214 100644
--- a/mgr/docker/Dockerfile
+++ b/mgr/docker/Dockerfile
@@ -2,8 +2,11 @@ FROM python:2-alpine
ARG HTTP_PROXY=${HTTP_PROXY}
ARG HTTPS_PROXY=${HTTPS_PROXY}
+ARG PKG_VERSION
ENV http_proxy $HTTP_PROXY
ENV https_proxy $HTTPS_PROXY
+ENV pkg_verison=${PKG_VERSION}
+
ADD . /service
WORKDIR /service