X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=create_rpmdata_in_docker.sh;h=d5775946db64c78e649ac597b4b90176c7f64cf5;hb=7dca3e0252134f75444a6e3e1c65a70229aee594;hp=3e0885dfc9140235ada8c4f2e0ed21cba4822202;hpb=900738828f48bade06f69c1e3a8f6fb988b97950;p=ta%2Fbuild-tools.git diff --git a/create_rpmdata_in_docker.sh b/create_rpmdata_in_docker.sh index 3e0885d..d577594 100755 --- a/create_rpmdata_in_docker.sh +++ b/create_rpmdata_in_docker.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Copyright 2019 Nokia # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -18,7 +18,7 @@ set -ex scriptdir="$(dirname $(readlink -f ${BASH_SOURCE[0]}))" source $scriptdir/lib.sh -docker_image=buildtools:2.0 +docker_image=buildtools _load_docker_image $docker_image function _resolve_abs_path() { @@ -37,6 +37,7 @@ shift; shift input_mp=/input output_mp=/output docker run \ + --network=host \ --rm \ -e PYTHONPATH=/work \ -e BUILD_URL -e JENKINS_USERNAME -e JENKINS_TOKEN -e WORK \ @@ -58,6 +59,7 @@ docker run \ $* docker run \ + --network=host \ --rm \ -e PYTHONPATH=/work \ -v $scriptdir:/work \