summaryrefslogtreecommitdiffstats
path: root/vesagent
diff options
context:
space:
mode:
authorArun Arora <aroraarun@vmware.com>2017-10-23 16:13:20 +0530
committerArun Arora <aroraarun@vmware.com>2017-10-24 11:13:53 +0530
commitd4396484faf8150e00481685eab520f6162deb51 (patch)
treeee47b59cc04dac6ae4fd7ee9684fa6189c9eb881 /vesagent
parent65f7f6367cbab0765b32e1a0cf6b78cadcef18b7 (diff)
VMware vesagent docker build fixes
Added fix to change current directory to docker directory for resolution of relative paths of required files and sub-directories Change-Id: I2f301aea42bf826a3ffb33eb08f312e8deab5aea Issue-ID: MULTICLOUD-8 Signed-off-by: Arun Arora <aroraarun@vmware.com>
Diffstat (limited to 'vesagent')
-rwxr-xr-xvesagent/docker/docker-build.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/vesagent/docker/docker-build.sh b/vesagent/docker/docker-build.sh
index 0260e9e..256ec04 100755
--- a/vesagent/docker/docker-build.sh
+++ b/vesagent/docker/docker-build.sh
@@ -64,6 +64,7 @@ fi
function build_image {
# build the image
echo "Start build docker image: ${IMAGE_NAME}"
+ cd ${WORKSPACE}/vesagent/docker/
docker build ${BUILD_ARGS} -t ${IMAGE_NAME}:${VERSION} -t ${IMAGE_NAME}:latest .
}