]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #43091 - aidanhs:aphs-no-docker-priv, r=alexcrichton
authorbors <bors@rust-lang.org>
Fri, 7 Jul 2017 08:13:20 +0000 (08:13 +0000)
committerbors <bors@rust-lang.org>
Fri, 7 Jul 2017 08:13:20 +0000 (08:13 +0000)
Privileged in docker run isn't necessary

Added relatively recently in https://github.com/rust-lang/rust/pull/40199/files#diff-71609a365528e4649836825d8250c241R57, but I don't see anything in that PR that requires it. If it's not strictly necessary, we shouldn't use it.

(if this lands I'll make a PR against libc which also uses privileged)

r? @alexcrichton

src/ci/docker/run.sh

index 4f34a7214cbc6763c6ac308b95fb7865378dd8c0..da74ffb41ffcc8698e8143f57b4b7b761cad1638 100755 (executable)
@@ -82,7 +82,6 @@ exec docker \
   --env TRAVIS_BRANCH \
   --volume "$HOME/.cargo:/cargo" \
   --volume "$HOME/rustsrc:$HOME/rustsrc" \
-  --privileged \
   --rm \
   rust-ci \
   /checkout/src/ci/run.sh