Adding sbin folder back to path so apt-get works again.

This commit is contained in:
Peter Cummuskey 2017-08-21 17:26:42 +12:00 committed by GitHub
parent 658d6f6680
commit 88def5fe01

View file

@ -36,7 +36,7 @@ RUN mkdir -p /home/rust/libs /home/rust/src
# Set up our path with all our binary directories, including those for the
# musl-gcc toolchain and for our Rust toolchain.
ENV PATH=/home/rust/.cargo/bin:/usr/local/musl/bin:/usr/local/bin:/usr/bin:/bin
ENV PATH=/home/rust/.cargo/bin:/usr/local/musl/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# Install our Rust toolchain and the `musl` target. We patch the
# command-line we pass to the installer so that it won't attempt to