2018-08-03 11:30:40 -07:00
|
|
|
FROM rust:1.28
|
2018-07-30 15:56:49 -07:00
|
|
|
|
2018-08-19 08:49:24 -07:00
|
|
|
RUN set -x && \
|
2018-08-19 08:38:22 -07:00
|
|
|
apt update && \
|
2018-07-30 15:56:49 -07:00
|
|
|
apt-get install apt-transport-https && \
|
|
|
|
echo deb https://apt.buildkite.com/buildkite-agent stable main > /etc/apt/sources.list.d/buildkite-agent.list && \
|
|
|
|
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 32A37959C2FA5C3C99EFBC32A79206696452D198 && \
|
|
|
|
apt update && \
|
|
|
|
apt install -y \
|
|
|
|
buildkite-agent \
|
2018-08-19 08:38:22 -07:00
|
|
|
cmake \
|
|
|
|
llvm-6.0 \
|
2018-07-30 15:56:49 -07:00
|
|
|
rsync \
|
|
|
|
sudo \
|
|
|
|
&& \
|
2018-08-03 14:10:09 -07:00
|
|
|
rustup component add rustfmt-preview && \
|
2018-08-19 08:38:22 -07:00
|
|
|
rm -rf /var/lib/apt/lists/* && \
|
|
|
|
rustc --version && \
|
|
|
|
cargo --version
|