Skip to content

Commit 9264ac2

Browse files
committed
ci: Use rustc docker image for x86_64 and i686 linux
1 parent 66c4d10 commit 9264ac2

File tree

3 files changed

+6
-18
lines changed

3 files changed

+6
-18
lines changed
+2-9
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,2 @@
1-
FROM alexcrichton/rust-slave-dist:2015-10-20b
2-
USER root
3-
4-
WORKDIR /
5-
RUN curl https://www.cpan.org/src/5.0/perl-5.28.0.tar.gz | tar xzf -
6-
WORKDIR /perl-5.28.0
7-
RUN ./configure.gnu
8-
RUN make -j$(nproc)
9-
RUN make install
1+
FROM rust-i686-unknown-linux-gnu
2+
RUN ln /rustroot/bin/gcc /rustroot/bin/cc
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,2 @@
1-
FROM alexcrichton/rust-slave-dist:2015-10-20b
2-
USER root
3-
4-
WORKDIR /
5-
RUN curl https://www.cpan.org/src/5.0/perl-5.28.0.tar.gz | tar xzf -
6-
WORKDIR /perl-5.28.0
7-
RUN ./configure.gnu
8-
RUN make -j$(nproc)
9-
RUN make install
1+
FROM rust-x86_64-unknown-linux-gnu
2+
RUN ln /rustroot/bin/gcc /rustroot/bin/cc

ci/fetch-rust-docker.sh

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ case "$TARGET" in
2222
powerpc64-unknown-linux-gnu) image=dist-powerpc64-linux ;;
2323
powerpc64le-unknown-linux-gnu) image=dist-powerpc64le-linux ;;
2424
s390x-unknown-linux-gnu) image=dist-s390x-linux ;;
25+
x86_64-unknown-linux-gnu) image=dist-x86_64-linux ;;
26+
i686-unknown-linux-gnu) image=dist-i686-linux ;;
2527
*) exit ;;
2628
esac
2729

0 commit comments

Comments
 (0)