commit | 3184fd74f11b7691d203f3a31ceb02f41a11decc | [log] [tgz] |
---|---|---|
author | Stephan Erb <serb@apache.org> | Tue Aug 02 23:47:59 2016 +0200 |
committer | Stephan Erb <serb@apache.org> | Tue Aug 02 23:47:59 2016 +0200 |
tree | 01b00d56c49c09d7eb5cc4f1a551b1288eeef15b | |
parent | 5d5b52fbd5b16691a35109045302ec5e6fbe25a2 [diff] |
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/
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 @@ 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