]> git.lizzy.rs Git - rust.git/blob - src/ci/docker/host-x86_64/x86_64-gnu-nopt/Dockerfile
Fix typo in TLS Model in Unstable Book
[rust.git] / src / ci / docker / host-x86_64 / x86_64-gnu-nopt / 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   libssl-dev \
15   pkg-config \
16   xz-utils
17
18 COPY scripts/sccache.sh /scripts/
19 RUN sh /scripts/sccache.sh
20
21 RUN mkdir -p /config
22 RUN echo "[rust]" > /config/nopt-std-config.toml
23 RUN echo "optimize = false" >> /config/nopt-std-config.toml
24
25 ENV RUST_CONFIGURE_ARGS --build=x86_64-unknown-linux-gnu \
26   --disable-optimize-tests \
27   --set rust.test-compare-mode
28 ENV SCRIPT python3 ../x.py test --stage 0 --config /config/nopt-std-config.toml library/std \
29   && python3 ../x.py --stage 2 test