aboutsummaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2019-05-10 18:16:21 +0800
committeryangyan <yangyanyj@chinamobile.com>2019-05-10 18:16:31 +0800
commit3fe1223629b7d58f825b7c5366ebb929eb962f30 (patch)
treeebfb2babd600707145ea258a6b447ca054e79f54 /docker/Dockerfile
parent193370c98a2908c1e1c045db8b2b95453334b1eb (diff)
Add ARG and PKG_VERSION to Dockerfile
Change-Id: I99747948a8e1b1f8d6912976bd9c491a92b72714 Issue-ID: VFC-1383 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'docker/Dockerfile')
-rwxr-xr-xdocker/Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 68570116..90bcceef 100755
--- a/docker/Dockerfile
+++ b/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