]> git.proxmox.com Git - rustc.git/blob - src/ci/docker/host-x86_64/x86_64-gnu-nopt/Dockerfile
bump version to 1.79.0+dfsg1-1~bpo12+pve2
[rustc.git] / src / ci / docker / host-x86_64 / x86_64-gnu-nopt / Dockerfile
1 FROM ubuntu:22.04
2
3 # Avoid interactive prompts while installing `tzdata` dependency with `DEBIAN_FRONTEND`.
4 ARG DEBIAN_FRONTEND=noninteractive
5 RUN apt-get update && apt-get install -y --no-install-recommends \
6 g++ \
7 make \
8 ninja-build \
9 file \
10 curl \
11 ca-certificates \
12 python3 \
13 git \
14 cmake \
15 sudo \
16 gdb \
17 libssl-dev \
18 pkg-config \
19 xz-utils \
20 && rm -rf /var/lib/apt/lists/*
21
22 COPY scripts/sccache.sh /scripts/
23 RUN sh /scripts/sccache.sh
24
25 RUN mkdir -p /config
26 RUN echo "[rust]" > /config/nopt-std-config.toml
27 RUN echo "optimize = false" >> /config/nopt-std-config.toml
28
29 ENV RUST_CONFIGURE_ARGS --build=x86_64-unknown-linux-gnu \
30 --disable-optimize-tests \
31 --set rust.test-compare-mode
32 ENV SCRIPT python3 ../x.py test --stage 0 --config /config/nopt-std-config.toml library/std \
33 && python3 ../x.py --stage 2 test