summaryrefslogtreecommitdiffstats
path: root/src/ci/docker/host-x86_64/disabled/dist-x86_64-dragonfly/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'src/ci/docker/host-x86_64/disabled/dist-x86_64-dragonfly/Dockerfile')
-rw-r--r--src/ci/docker/host-x86_64/disabled/dist-x86_64-dragonfly/Dockerfile37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/ci/docker/host-x86_64/disabled/dist-x86_64-dragonfly/Dockerfile b/src/ci/docker/host-x86_64/disabled/dist-x86_64-dragonfly/Dockerfile
new file mode 100644
index 000000000..5d594a805
--- /dev/null
+++ b/src/ci/docker/host-x86_64/disabled/dist-x86_64-dragonfly/Dockerfile
@@ -0,0 +1,37 @@
+FROM ubuntu:16.04
+
+RUN apt-get update && apt-get install -y --no-install-recommends \
+ g++ \
+ make \
+ ninja-build \
+ file \
+ curl \
+ ca-certificates \
+ python3 \
+ git \
+ cmake \
+ sudo \
+ bzip2 \
+ xz-utils \
+ wget \
+ libssl-dev \
+ bsdtar \
+ pkg-config
+
+
+COPY host-x86_64/dist-x86_64-dragonfly/build-toolchain.sh /tmp/
+COPY host-x86_64/dist-x86_64-dragonfly/patch-toolchain /tmp/
+RUN /tmp/build-toolchain.sh /tmp/patch-toolchain
+
+COPY scripts/sccache.sh /scripts/
+RUN sh /scripts/sccache.sh
+
+ENV \
+ AR_x86_64_unknown_dragonfly=x86_64-unknown-dragonfly-ar \
+ CC_x86_64_unknown_dragonfly=x86_64-unknown-dragonfly-gcc \
+ CXX_x86_64_unknown_dragonfly=x86_64-unknown-dragonfly-g++
+
+ENV HOSTS=x86_64-unknown-dragonfly
+
+ENV RUST_CONFIGURE_ARGS --enable-extended
+ENV SCRIPT python3 ../x.py dist --host $HOSTS --target $HOSTS