• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1FROM ubuntu:22.04
2
3ARG DEBIAN_FRONTEND=noninteractive
4RUN apt-get update && apt-get install -y --no-install-recommends \
5  g++-multilib \
6  make \
7  ninja-build \
8  file \
9  curl \
10  ca-certificates \
11  python3 \
12  git \
13  cmake \
14  sudo \
15  gdb \
16  zlib1g-dev \
17  lib32z1-dev \
18  xz-utils \
19  mingw-w64 \
20  && rm -rf /var/lib/apt/lists/*
21
22
23COPY scripts/sccache.sh /scripts/
24RUN sh /scripts/sccache.sh
25
26ENV RUST_CONFIGURE_ARGS --build=i686-unknown-linux-gnu
27# Exclude some tests that are unlikely to be platform specific, to speed up
28# this slow job.
29ENV SCRIPT python3 ../x.py --stage 2 test \
30  --exclude src/bootstrap \
31  --exclude tests/rustdoc-js \
32  --exclude src/tools/error_index_generator \
33  --exclude src/tools/linkchecker
34