diff options
author | yangyan <yangyanyj@chinamobile.com> | 2019-05-10 17:51:43 +0800 |
---|---|---|
committer | yangyan <yangyanyj@chinamobile.com> | 2019-05-10 17:51:54 +0800 |
commit | cb5654fe263079ed7ffb908620fd7cfde3a74e58 (patch) | |
tree | f9290647cf7ca42fadc1e0bffe98ae4d91c16f57 /mgr/docker/Dockerfile | |
parent | fa6078ef73eb4838ab9dee1fba8e7b1fbf3c9131 (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/Dockerfile | 3 |
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 |