Commit a9a6d98a authored by Martin Blix Grydeland's avatar Martin Blix Grydeland

Use host network in docker build instance

parent 401fdb42
......@@ -234,7 +234,7 @@ jobs:
command: |
docker create --name workspace -v /workspace << parameters.prefix >><< parameters.dist >>:<< parameters.release >> /bin/true
docker cp /workspace workspace:/
docker run --volumes-from workspace -w /workspace << parameters.prefix >><< parameters.dist >>:<< parameters.release >> sh -c '
docker run --volumes-from workspace -w /workspace --network host << parameters.prefix >><< parameters.dist >>:<< parameters.release >> sh -c '
case "<< parameters.dist >>" in
centos|almalinux|fedora)
yum groupinstall -y "Development Tools"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment