]> git.proxmox.com Git - rustc.git/blame - src/ci/docker/host-x86_64/i686-gnu-nopt/Dockerfile
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / ci / docker / host-x86_64 / i686-gnu-nopt / Dockerfile
CommitLineData
476ff2be
SL
1FROM ubuntu:16.04
2
3RUN apt-get update && apt-get install -y --no-install-recommends \
4 g++-multilib \
5 make \
1b1a35ee 6 ninja-build \
476ff2be
SL
7 file \
8 curl \
9 ca-certificates \
ba9703b0 10 python3 \
476ff2be
SL
11 git \
12 cmake \
476ff2be
SL
13 sudo \
14 gdb \
3dfed10e
XL
15 zlib1g-dev \
16 lib32z1-dev \
476ff2be
SL
17 xz-utils
18
476ff2be 19
041b39d2
XL
20COPY scripts/sccache.sh /scripts/
21RUN sh /scripts/sccache.sh
22
6a06907d
XL
23COPY scripts/cmake.sh /scripts/
24RUN /scripts/cmake.sh
25
3dfed10e
XL
26RUN mkdir -p /config
27RUN echo "[rust]" > /config/nopt-std-config.toml
28RUN echo "optimize = false" >> /config/nopt-std-config.toml
29
476ff2be 30ENV RUST_CONFIGURE_ARGS --build=i686-unknown-linux-gnu --disable-optimize-tests
3dfed10e
XL
31ENV SCRIPT python3 ../x.py test --stage 0 --config /config/nopt-std-config.toml library/std \
32 && python3 ../x.py --stage 2 test