Skip to content

Commit

Permalink
Clear apt cache to reduce image size
Browse files Browse the repository at this point in the history
  • Loading branch information
mvines committed Jul 30, 2018
1 parent 2158329 commit 102510a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ci/docker-rust-nightly/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@ FROM rustlang/rust:nightly
RUN cargo install --force clippy cargo-cov && \
echo deb http://ftp.debian.org/debian stretch-backports main >> /etc/apt/sources.list && \
apt update && \
apt install -y llvm-6.0
apt install -y \
llvm-6.0
&& \
rm -rf /var/lib/apt/lists/*

0 comments on commit 102510a

Please sign in to comment.