Flip && style
This commit is contained in:
@ -2,15 +2,15 @@
|
|||||||
# ci/buildkite.yml to pick up the new image tag
|
# ci/buildkite.yml to pick up the new image tag
|
||||||
FROM rust:1.31.0
|
FROM rust:1.31.0
|
||||||
|
|
||||||
RUN set -x && \
|
RUN set -x \
|
||||||
apt update && \
|
&& apt update \
|
||||||
apt-get install apt-transport-https && \
|
&& apt-get install apt-transport-https \
|
||||||
echo deb https://apt.buildkite.com/buildkite-agent stable main > /etc/apt/sources.list.d/buildkite-agent.list && \
|
&& echo deb https://apt.buildkite.com/buildkite-agent stable main > /etc/apt/sources.list.d/buildkite-agent.list \
|
||||||
echo deb http://apt.llvm.org/stretch/ llvm-toolchain-stretch-7 main > /etc/apt/sources.list.d/llvm.list && \
|
&& echo deb http://apt.llvm.org/stretch/ llvm-toolchain-stretch-7 main > /etc/apt/sources.list.d/llvm.list \
|
||||||
apt-key adv --no-tty --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 32A37959C2FA5C3C99EFBC32A79206696452D198 && \
|
&& apt-key adv --no-tty --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 32A37959C2FA5C3C99EFBC32A79206696452D198 \
|
||||||
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - && \
|
&& wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - \
|
||||||
apt update && \
|
&& apt update \
|
||||||
apt install -y \
|
&& apt install -y \
|
||||||
buildkite-agent \
|
buildkite-agent \
|
||||||
clang-7 \
|
clang-7 \
|
||||||
cmake \
|
cmake \
|
||||||
@ -19,9 +19,10 @@ RUN set -x && \
|
|||||||
llvm-7 \
|
llvm-7 \
|
||||||
rsync \
|
rsync \
|
||||||
sudo \
|
sudo \
|
||||||
&& \
|
\
|
||||||
rustup component add rustfmt && \
|
&& rustup component add rustfmt \
|
||||||
rustup component add clippy && \
|
&& rustup component add clippy \
|
||||||
rm -rf /var/lib/apt/lists/* && \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
rustc --version && \
|
&& rustc --version \
|
||||||
cargo --version
|
&& cargo --version
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user