Skip to content

Commit

Permalink
Merge pull request #1815 from lzutao/rustc-docker
Browse files Browse the repository at this point in the history
ci: Use rustc docker image for x86_64 and i686 linux
  • Loading branch information
kinnison authored May 5, 2019
2 parents d39570f + 05632bf commit a7460e2
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 a7460e2

Please sign in to comment.