summaryrefslogtreecommitdiffstats
path: root/res/docker/Dockerfile
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2019-05-10 17:56:31 +0800
committeryangyan <yangyanyj@chinamobile.com>2019-05-10 17:56:42 +0800
commitc966a96efb7f305b75edfecfb3218d0c835abc1a (patch)
tree78b66efa81d84f3f1b7d0d01f2a10021b33b704b /res/docker/Dockerfile
parent3939c3632fc56974eded0c0642d2aee6a89a8307 (diff)
Add ARG and PKG_VERSION to Dockerfile
Change-Id: I4fad5e67c6e0cfe96bd28016367b378b3da66796 Issue-ID: VFC-1383 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'res/docker/Dockerfile')
-rw-r--r--res/docker/Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/res/docker/Dockerfile b/res/docker/Dockerfile
index 79e4f83..b9f995e 100644
--- a/res/docker/Dockerfile
+++ b/res/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