Skip to content

Commit

Permalink
ci: Use rustc docker image for x86_64 and i686 linux
Browse files Browse the repository at this point in the history
  • Loading branch information
tesuji committed May 1, 2019
1 parent 88473bc commit 05632bf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 18 deletions.
10 changes: 1 addition & 9 deletions ci/docker/i686-unknown-linux-gnu/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1 @@
FROM alexcrichton/rust-slave-dist:2015-10-20b
USER root

WORKDIR /
RUN curl https://www.cpan.org/src/5.0/perl-5.28.0.tar.gz | tar xzf -
WORKDIR /perl-5.28.0
RUN ./configure.gnu
RUN make -j$(nproc)
RUN make install
FROM rust-i686-unknown-linux-gnu
10 changes: 1 addition & 9 deletions ci/docker/x86_64-unknown-linux-gnu/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1 @@
FROM alexcrichton/rust-slave-dist:2015-10-20b
USER root

WORKDIR /
RUN curl https://www.cpan.org/src/5.0/perl-5.28.0.tar.gz | tar xzf -
WORKDIR /perl-5.28.0
RUN ./configure.gnu
RUN make -j$(nproc)
RUN make install
FROM rust-x86_64-unknown-linux-gnu
2 changes: 2 additions & 0 deletions ci/fetch-rust-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ case "$TARGET" in
powerpc64-unknown-linux-gnu) image=dist-powerpc64-linux ;;
powerpc64le-unknown-linux-gnu) image=dist-powerpc64le-linux ;;
s390x-unknown-linux-gnu) image=dist-s390x-linux ;;
x86_64-unknown-linux-gnu) image=dist-x86_64-linux ;;
i686-unknown-linux-gnu) image=dist-i686-linux ;;
*) exit ;;
esac

Expand Down

0 comments on commit 05632bf

Please sign in to comment.