Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
Use Docker host network rather than bridging.
Browse files Browse the repository at this point in the history
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) moby/moby#7857
(2) moby/moby#11407

Reviewed at https://reviews.apache.org/r/50716/
  • Loading branch information
StephanErb committed Aug 2, 2016
1 parent 5d5b52f commit 3184fd7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build-artifact.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3184fd7

Please sign in to comment.