summaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2019-05-10 16:10:12 +0800
committeryangyan <yangyanyj@chinamobile.com>2019-05-10 16:30:57 +0800
commitf8ad221b968ac85391d79a11db6546c933947f9d (patch)
tree09d61283a7a5ab915358e5a57d57b3731d204383 /docker/Dockerfile
parentc363c2c9e5fd2cad61d9f64bea3d1a911e13e987 (diff)
Add ARG PKG_VERSION to Dockerfile
Change-Id: I5b5aa75a3838a87c2f0aabcd4d721dc36d072be3 Issue-ID: VFC-1383 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--[-rwxr-xr-x]docker/Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index b0854803..51904207 100755..100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -2,8 +2,10 @@ 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_version=${PKG_VERSION}
ADD . /service
WORKDIR /service