Pin pip to 20.3.3 and disable tmpfs in DIB
[ta/build-tools.git] / create_rpmdata_in_docker.sh
index 3e0885d..d577594 100755 (executable)
@@ -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 \