fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1FROM ubuntu:22.04 2 3ARG DEBIAN_FRONTEND=noninteractive 4RUN 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 mingw-w64 \ 20 && rm -rf /var/lib/apt/lists/* 21 22COPY scripts/sccache.sh /scripts/ 23RUN sh /scripts/sccache.sh 24 25ENV RUST_CONFIGURE_ARGS \ 26 --build=x86_64-unknown-linux-gnu \ 27 --enable-sanitizers \ 28 --enable-profiler \ 29 --enable-compiler-docs 30ENV SCRIPT python3 ../x.py --stage 2 test