diff options
author | Yao Lu <lu.yao135@zte.com.cn> | 2016-11-15 15:57:43 +0800 |
---|---|---|
committer | Yao Lu <lu.yao135@zte.com.cn> | 2016-11-15 15:57:43 +0800 |
commit | ea6faedd90a7743829fc2f44b44c8427b040e9d6 (patch) | |
tree | 8dc0d8d2a5bfdf08c569c85b7fc22f724c7b76b9 /ci | |
parent | 615a2f2822aa47b66217a17373146ea7428837e1 (diff) |
add map with local and docker path /home/cache
Change-Id: I7f3ad5c7c7f70a14b7efd6e27c9958b1e396eef0
Signed-off-by: Yao Lu <lu.yao135@zte.com.cn>
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/build_rpm/build_rpms.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/build_rpm/build_rpms.sh b/ci/build_rpm/build_rpms.sh index 4f18d8ef..2d5d23e0 100755 --- a/ci/build_rpm/build_rpms.sh +++ b/ci/build_rpm/build_rpms.sh @@ -18,7 +18,7 @@ function build_rpm_pkg { mkdir -p $DAISYDIR/build_output sudo docker build -t daisy4nfv_rpm . - sudo docker run --rm -v $DAISYDIR:/opt/daisy4nfv -t daisy4nfv_rpm \ + sudo docker run --rm -v $DAISYDIR:/opt/daisy4nfv -v $CACHE_DIRECTORY:/home/cache -t daisy4nfv_rpm \ /opt/daisy4nfv/ci/build_rpm/build_rpms_docker.sh $OPNFV_ARTIFACT_VERSION # Here to collect build result from $DAISYDIR/build_output |