3 ARG DEBIAN_FRONTEND=noninteractive
4 RUN apt-get update && apt-get install -y --no-install-recommends \
19 && rm -rf /var/lib/apt/lists/*
22 COPY scripts/sccache.sh /scripts/
23 RUN sh /scripts/sccache.sh
25 ENV RUST_CONFIGURE_ARGS --build=i686-unknown-linux-gnu
26 # Exclude some tests that are unlikely to be platform specific, to speed up
28 ENV SCRIPT python3 ../x.py --stage 2 test \
29 --exclude src/bootstrap \
30 --exclude tests/rustdoc-js \
31 --exclude src/tools/error_index_generator \
32 --exclude src/tools/linkchecker