Pin pip to 20.3.3 and disable tmpfs in DIB
[ta/build-tools.git] / create_rpmdata_in_docker.sh
index 26b6159..d577594 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 # Copyright 2019 Nokia
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -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 \