aboutsummaryrefslogtreecommitdiffstats
path: root/docker/build_image.sh
diff options
context:
space:
mode:
authortianxing <15210838572@139.com>2019-05-13 21:36:53 +0800
committertianxing <15210838572@139.com>2019-05-13 21:37:44 +0800
commit0d3c00cea893cff8d40ee740af3282f3077c8f37 (patch)
treebae6eefed430c630e1e1e8116166f86d87af7995 /docker/build_image.sh
parent531976ab0537e54c59eb6b443941dea5b2c83cb0 (diff)
fix bug of docker file
Change-Id: I42e6bbdac7926354cd68cc94399fd873a842e056 Issue-ID: VFC-1386 Signed-off-by: tianxing <15210838572@139.com>
Diffstat (limited to 'docker/build_image.sh')
-rw-r--r--docker/build_image.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/build_image.sh b/docker/build_image.sh
index 64360b19..9b050a71 100644
--- a/docker/build_image.sh
+++ b/docker/build_image.sh
@@ -13,6 +13,7 @@ DOCKER_REPOSITORY="nexus3.onap.org:10003"
IMAGE_NAME="${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/${IMAGE}"
TIMESTAMP=$(date +"%Y%m%dT%H%M%S")
+BUILD_ARGS+=" --build-arg PKG_VERSION=${VERSION}"
if [ $HTTP_PROXY ]; then
BUILD_ARGS+=" --build-arg HTTP_PROXY=${HTTP_PROXY}"