]> git.lizzy.rs Git - rust.git/blob - src/ci/docker/disabled/dist-x86_64-dragonfly/Dockerfile
Refactor away `inferred_obligations` from the trait selector
[rust.git] / src / ci / docker / 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   file \
7   curl \
8   ca-certificates \
9   python2.7 \
10   git \
11   cmake \
12   sudo \
13   bzip2 \
14   xz-utils \
15   wget \
16   libssl-dev \
17   bsdtar \
18   pkg-config
19
20
21 COPY dist-x86_64-dragonfly/build-toolchain.sh /tmp/
22 COPY dist-x86_64-dragonfly/patch-toolchain /tmp/
23 RUN /tmp/build-toolchain.sh /tmp/patch-toolchain
24
25 COPY scripts/sccache.sh /scripts/
26 RUN sh /scripts/sccache.sh
27
28 ENV \
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
33 ENV HOSTS=x86_64-unknown-dragonfly
34
35 ENV RUST_CONFIGURE_ARGS --host=$HOSTS --enable-extended
36 ENV SCRIPT python2.7 ../x.py dist --host $HOSTS --target $HOSTS