3 RUN apt-get update && apt-get install -y --no-install-recommends \
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
25 COPY scripts/sccache.sh /scripts/
26 RUN sh /scripts/sccache.sh
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++
33 ENV HOSTS=x86_64-unknown-dragonfly
35 ENV RUST_CONFIGURE_ARGS --host=$HOSTS --enable-extended
36 ENV SCRIPT python2.7 ../x.py dist --host $HOSTS --target $HOSTS