solana/ci/docker-rust/Dockerfile

16 lines
511 B
Docker
Raw Normal View History

2018-08-03 11:30:40 -07:00
FROM rust:1.28
2018-07-30 15:56:49 -07:00
RUN apt update && \
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 \
rsync \
sudo \
cmake \
2018-07-30 15:56:49 -07:00
&& \
2018-08-03 14:10:09 -07:00
rustup component add rustfmt-preview && \
2018-07-30 15:56:49 -07:00
rm -rf /var/lib/apt/lists/*