919939451f
- allow QEMU name to have subdirectory inside (replace `/` by `__` in the filename) - add a new code path for plain qcow2 image (for efficient bandwidth usage, the qcow2 is expected to use compressed qcow2 format) - move freebsd image to explicitly download the gzipped QEMU
14 lines
333 B
Docker
14 lines
333 B
Docker
FROM alexcrichton/rust-slave-linux-cross:2016-04-15
|
|
USER root
|
|
|
|
RUN apt-get update
|
|
RUN apt-get install -y --no-install-recommends \
|
|
qemu qemu-kvm kmod cpu-checker
|
|
|
|
ENTRYPOINT ["sh"]
|
|
|
|
ENV PATH=$PATH:/rust/bin \
|
|
QEMU=freebsd.qcow2.gz \
|
|
CAN_CROSS=1 \
|
|
CARGO_TARGET_X86_64_UNKNOWN_FREEBSD_LINKER=x86_64-unknown-freebsd10-gcc
|