Skip to content

Commit b9a4f4c

Browse files
committed
[WIP] Use prebuilt perl
This would reduce build time 4 minutes. It is built in the same image with Dockerfile.
1 parent f2fec8e commit b9a4f4c

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1+
# Source from https://github.com/rust-lang-deprecated/rust-buildbot/blob/master/slaves/dist/Dockerfile
12
FROM alexcrichton/rust-slave-dist:2015-10-20b
23
USER root
34

45
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
6+
RUN curl -L https://github.com/lzutao/rustup.rs/releases/download/perl-5.28.0/perl-5.28.0.tar.gz | tar xzf - -C /

0 commit comments

Comments
 (0)