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