diff options
author | Daniel Mueller <deso@posteo.net> | 2017-05-29 14:07:12 -0700 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2017-05-29 14:07:12 -0700 |
commit | 684c4574c09a6f2cc5a208e4505e9306602b4abc (patch) | |
tree | daaac715140748c82f801f2e4047c57780689bc0 /libc/ci/run-docker.sh | |
parent | 436915453f7474117234aa0cedab6f97b3b3575f (diff) | |
download | nitrocli-684c4574c09a6f2cc5a208e4505e9306602b4abc.tar.gz nitrocli-684c4574c09a6f2cc5a208e4505e9306602b4abc.tar.bz2 |
Update libc crate to 0.2.23
The 'libc' create got a couple of updates. This change imports the new
code and bumps the version to use.
Import subrepo libc/:libc at 7db3fd570dfb41a38fb17116e93679307178103a
Diffstat (limited to 'libc/ci/run-docker.sh')
-rw-r--r-- | libc/ci/run-docker.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libc/ci/run-docker.sh b/libc/ci/run-docker.sh index 1ac419a..e963078 100644 --- a/libc/ci/run-docker.sh +++ b/libc/ci/run-docker.sh @@ -8,10 +8,14 @@ run() { # use -f so we can use ci/ as build context docker build -t libc -f ci/docker/$1/Dockerfile ci/ mkdir -p target + if [ -w /dev/kvm ]; then + kvm="--volume /dev/kvm:/dev/kvm" + fi docker run \ --user `id -u`:`id -g` \ --rm \ --volume $HOME/.cargo:/cargo \ + $kvm \ --env CARGO_HOME=/cargo \ --volume `rustc --print sysroot`:/rust:ro \ --volume `pwd`:/checkout:ro \ @@ -19,8 +23,6 @@ run() { --env CARGO_TARGET_DIR=/checkout/target \ --workdir /checkout \ --privileged \ - --interactive \ - --tty \ libc \ ci/run.sh $1 } |