]> git.lizzy.rs Git - rust.git/blob - src/ci/docker/host-x86_64/x86_64-gnu-distcheck/Dockerfile
Rollup merge of #74872 - JohnTitor:ping-risc-v, r=Mark-Simulacrum
[rust.git] / src / ci / docker / host-x86_64 / x86_64-gnu-distcheck / Dockerfile
1 FROM ubuntu:16.04
2
3 RUN apt-get update && apt-get install -y --no-install-recommends \
4   g++ \
5   make \
6   file \
7   curl \
8   ca-certificates \
9   python3 \
10   git \
11   cmake \
12   sudo \
13   gdb \
14   xz-utils \
15   libssl-dev \
16   pkg-config
17
18 COPY scripts/sccache.sh /scripts/
19 RUN sh /scripts/sccache.sh
20
21 ENV RUST_CONFIGURE_ARGS --build=x86_64-unknown-linux-gnu --set rust.ignore-git=false
22 ENV SCRIPT python3 ../x.py --stage 2 test distcheck
23 ENV DIST_SRC 1
24
25 # The purpose of this builder is to test that we can `./x.py --stage 2 test` successfully
26 # from a tarball, not to test LLVM/rustc's own set of assertions. These cause a
27 # significant hit to CI compile time (over a half hour as observed in #61185),
28 # so disable assertions for this builder.
29 ENV NO_LLVM_ASSERTIONS=1
30 ENV NO_DEBUG_ASSERTIONS=1