From 70077a2e3656bc094cf10dfb3128d1749d4cd59a Mon Sep 17 00:00:00 2001 From: Lzu Tao Date: Sun, 14 Apr 2019 09:14:16 +0700 Subject: [PATCH] Use prebuilt perl This would reduce build time upto 3 minutes. The final Perl tarball was built in the same image from Dockerfile. --- ci/docker/x86_64-unknown-linux-gnu/Dockerfile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/ci/docker/x86_64-unknown-linux-gnu/Dockerfile b/ci/docker/x86_64-unknown-linux-gnu/Dockerfile index 74b0d4c301..48fea3fcc7 100644 --- a/ci/docker/x86_64-unknown-linux-gnu/Dockerfile +++ b/ci/docker/x86_64-unknown-linux-gnu/Dockerfile @@ -1,9 +1,6 @@ +# Source from https://github.com/rust-lang-deprecated/rust-buildbot/blob/master/slaves/dist/Dockerfile 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 +RUN curl -L https://github.com/lzutao/rustup.rs/releases/download/perl-5.28.0/perl-5.28.0.tar.gz | tar xzf - -C /