]> git.lizzy.rs Git - rust.git/blob - src/ci/docker/host-x86_64/x86_64-gnu/Dockerfile
Rollup merge of #104967 - willcrichton:fix-scrape-examples, r=notriddle
[rust.git] / src / ci / docker / host-x86_64 / x86_64-gnu / Dockerfile
1 FROM ubuntu:20.04
2
3 ARG DEBIAN_FRONTEND=noninteractive
4 RUN apt-get update && apt-get install -y --no-install-recommends \
5   g++ \
6   make \
7   ninja-build \
8   file \
9   curl \
10   ca-certificates \
11   python3 \
12   git \
13   cmake \
14   sudo \
15   gdb \
16   libssl-dev \
17   pkg-config \
18   xz-utils \
19   && rm -rf /var/lib/apt/lists/*
20
21 COPY scripts/sccache.sh /scripts/
22 RUN sh /scripts/sccache.sh
23
24 ENV RUST_CONFIGURE_ARGS \
25  --build=x86_64-unknown-linux-gnu \
26  --enable-sanitizers \
27  --enable-profiler \
28  --enable-compiler-docs
29 ENV SCRIPT python3 ../x.py --stage 2 test