]> git.proxmox.com Git - rustc.git/blob - src/ci/docker/host-x86_64/disabled/dist-x86_64-dragonfly/Dockerfile
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / ci / docker / host-x86_64 / disabled / dist-x86_64-dragonfly / Dockerfile
1 FROM ubuntu:16.04
2
3 RUN apt-get update && apt-get install -y --no-install-recommends \
4 g++ \
5 make \
6 ninja-build \
7 file \
8 curl \
9 ca-certificates \
10 python3 \
11 git \
12 cmake \
13 sudo \
14 bzip2 \
15 xz-utils \
16 wget \
17 libssl-dev \
18 bsdtar \
19 pkg-config
20
21
22 COPY host-x86_64/dist-x86_64-dragonfly/build-toolchain.sh /tmp/
23 COPY host-x86_64/dist-x86_64-dragonfly/patch-toolchain /tmp/
24 RUN /tmp/build-toolchain.sh /tmp/patch-toolchain
25
26 COPY scripts/sccache.sh /scripts/
27 RUN sh /scripts/sccache.sh
28
29 ENV \
30 AR_x86_64_unknown_dragonfly=x86_64-unknown-dragonfly-ar \
31 CC_x86_64_unknown_dragonfly=x86_64-unknown-dragonfly-gcc \
32 CXX_x86_64_unknown_dragonfly=x86_64-unknown-dragonfly-g++
33
34 ENV HOSTS=x86_64-unknown-dragonfly
35
36 ENV RUST_CONFIGURE_ARGS --enable-extended
37 ENV SCRIPT python3 ../x.py dist --host $HOSTS --target $HOSTS