summaryrefslogtreecommitdiff
path: root/libc/ci/docker/x86_64-unknown-freebsd/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/ci/docker/x86_64-unknown-freebsd/Dockerfile')
-rw-r--r--libc/ci/docker/x86_64-unknown-freebsd/Dockerfile13
1 files changed, 13 insertions, 0 deletions
diff --git a/libc/ci/docker/x86_64-unknown-freebsd/Dockerfile b/libc/ci/docker/x86_64-unknown-freebsd/Dockerfile
new file mode 100644
index 0000000..12b0bdf
--- /dev/null
+++ b/libc/ci/docker/x86_64-unknown-freebsd/Dockerfile
@@ -0,0 +1,13 @@
+FROM alexcrichton/rust-slave-linux-cross:2016-04-15
+USER root
+
+RUN apt-get update
+RUN apt-get install -y --no-install-recommends \
+ qemu genext2fs
+
+ENTRYPOINT ["sh"]
+
+ENV PATH=$PATH:/rust/bin \
+ QEMU=2016-11-06/freebsd.qcow2.gz \
+ CAN_CROSS=1 \
+ CARGO_TARGET_X86_64_UNKNOWN_FREEBSD_LINKER=x86_64-unknown-freebsd10-gcc