]> git.lizzy.rs Git - rust.git/blob - src/ci/docker/host-x86_64/x86_64-gnu-nopt/Dockerfile
Rollup merge of #75377 - canova:map_debug_impl, r=dtolnay
[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   ninja-build \
7   file \
8   curl \
9   ca-certificates \
10   python3 \
11   git \
12   cmake \
13   sudo \
14   gdb \
15   libssl-dev \
16   pkg-config \
17   xz-utils
18
19 COPY scripts/sccache.sh /scripts/
20 RUN sh /scripts/sccache.sh
21
22 RUN mkdir -p /config
23 RUN echo "[rust]" > /config/nopt-std-config.toml
24 RUN echo "optimize = false" >> /config/nopt-std-config.toml
25
26 ENV RUST_CONFIGURE_ARGS --build=x86_64-unknown-linux-gnu \
27   --disable-optimize-tests \
28   --set rust.test-compare-mode
29 ENV SCRIPT python3 ../x.py test --stage 0 --config /config/nopt-std-config.toml library/std \
30   && python3 ../x.py --stage 2 test