File tree 2 files changed +11
-4
lines changed
docker/x86_64-unknown-freebsd
2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 1
- FROM alexcrichton /port-prebuilt-freebsd:2017-09-16
1
+ FROM wezm /port-prebuilt-freebsd11@sha256:43553e2265ec702ec72a63a765df333f50b1858b896e69385749e96d8624e9b0
2
2
3
3
RUN apt-get update
4
4
RUN apt-get install -y --no-install-recommends \
5
- qemu genext2fs
5
+ qemu genext2fs xz-utils
6
6
RUN apt-get install -y curl ca-certificates gcc
7
7
8
8
ENTRYPOINT ["sh" ]
9
9
10
10
ENV PATH=$PATH:/rust/bin \
11
- QEMU=2016-11-06/freebsd. qcow2.gz \
11
+ QEMU=2018-03-15/FreeBSD-11.1-RELEASE-amd64. qcow2.xz \
12
12
CAN_CROSS=1 \
13
- CARGO_TARGET_X86_64_UNKNOWN_FREEBSD_LINKER=x86_64-unknown-freebsd10 -gcc
13
+ CARGO_TARGET_X86_64_UNKNOWN_FREEBSD_LINKER=x86_64-unknown-freebsd11 -gcc
Original file line number Diff line number Diff line change @@ -24,6 +24,13 @@ if [ "$QEMU" != "" ]; then
24
24
curl https://s3-us-west-1.amazonaws.com/rust-lang-ci2/libc/$QEMU | \
25
25
gunzip -d > $tmpdir /$qemufile
26
26
fi
27
+ elif [ -z " ${QEMU#* .xz} " ]; then
28
+ # image is .xz : download and uncompress it
29
+ qemufile=$( echo ${QEMU% .xz} | sed ' s/\//__/g' )
30
+ if [ ! -f $tmpdir /$qemufile ]; then
31
+ curl https://s3-us-west-1.amazonaws.com/rust-lang-ci2/libc/$QEMU | \
32
+ unxz > $tmpdir /$qemufile
33
+ fi
27
34
else
28
35
# plain qcow2 image: just download it
29
36
qemufile=$( echo ${QEMU} | sed ' s/\//__/g' )
You can’t perform that action at this time.
0 commit comments