diff options
author | fujinhua <fu.jinhua@zte.com.cn> | 2017-09-04 14:20:56 +0800 |
---|---|---|
committer | fujinhua <fu.jinhua@zte.com.cn> | 2017-09-04 14:20:56 +0800 |
commit | 346d3f843f339f829e599e08df00ca6d69580709 (patch) | |
tree | d64f1be3c7d3ebcdbfe2edb02112ac05f6c92479 /lcm/docker | |
parent | 9c76915d86fbedb50386708542c592d09bec4f39 (diff) |
Add build dir to docker build script
Change-Id: Ie324dfb080d896be106aa16fead5a50418c762b6
Issue-Id: VFC-256
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'lcm/docker')
-rwxr-xr-x | lcm/docker/build_image.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lcm/docker/build_image.sh b/lcm/docker/build_image.sh index 947803dc..52ed777b 100755 --- a/lcm/docker/build_image.sh +++ b/lcm/docker/build_image.sh @@ -1,4 +1,8 @@ #!/bin/bash +DIRNAME=`dirname $0` +DOCKER_BUILD_DIR=`cd $DIRNAME/; pwd` +echo "DOCKER_BUILD_DIR=${DOCKER_BUILD_DIR}" +cd ${DOCKER_BUILD_DIR} BUILD_ARGS="--no-cache" ORG="onap" |