Repository: aurora-packaging
Updated Branches:
  refs/heads/master 5d5b52fbd -> 3184fd74f


Use Docker host network rather than bridging.

The default bridge network is known to be slow (1) and potentially
flaky (2). Switching to host networking is a desperate attempt to reduce
flaps in our nightly package builds.

(1) https://github.com/docker/docker/issues/7857
(2) https://github.com/docker/docker/issues/11407

Reviewed at https://reviews.apache.org/r/50716/


Project: http://git-wip-us.apache.org/repos/asf/aurora-packaging/repo
Commit: http://git-wip-us.apache.org/repos/asf/aurora-packaging/commit/3184fd74
Tree: http://git-wip-us.apache.org/repos/asf/aurora-packaging/tree/3184fd74
Diff: http://git-wip-us.apache.org/repos/asf/aurora-packaging/diff/3184fd74

Branch: refs/heads/master
Commit: 3184fd74f11b7691d203f3a31ceb02f41a11decc
Parents: 5d5b52f
Author: Stephan Erb <[email protected]>
Authored: Tue Aug 2 23:47:59 2016 +0200
Committer: Stephan Erb <[email protected]>
Committed: Tue Aug 2 23:47:59 2016 +0200

----------------------------------------------------------------------
 build-artifact.sh | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/aurora-packaging/blob/3184fd74/build-artifact.sh
----------------------------------------------------------------------
diff --git a/build-artifact.sh b/build-artifact.sh
index 333c7a4..e4efe5f 100755
--- a/build-artifact.sh
+++ b/build-artifact.sh
@@ -34,6 +34,7 @@ run_build() {
 
   docker run \
     -e AURORA_VERSION=$AURORA_VERSION \
+    --net=host \
     -v "$(pwd)/specs:/specs:ro" \
     -v "$(realpath $RELEASE_TAR):/src.tar.gz:ro" \
     -t "$IMAGE_NAME" /build.sh

Reply via email to