File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 3
3
4
4
RUN apt-get update && apt-get install -y curl procps
5
5
6
- RUN mkdir /usr/src/perl
7
- WORKDIR /usr/src/perl
8
- RUN curl -SL http ://www. cpan.org/src/5.0/ perl-5.20.1.tar.gz \
9
- | tar -xz --strip-components=1
6
+ WORKDIR /tmp
7
+ ADD sha1.txt /tmp/sha1.txt
8
+ RUN curl -SL https ://cpan.metacpan. org/authors/id/S/SH/SHAY/perl-5.20.1.tar.bz2 -o /tmp/ perl-5.20.1.tar.bz2
9
+ RUN sha1sum -c /tmp/sha1.txt
10
10
11
+ WORKDIR /usr/src/perl
12
+ RUN tar --strip-components=1 -xjf /tmp/perl-5.20.1.tar.bz2
13
+ RUN rm /tmp/perl-5.20.1.tar.bz2 /tmp/sha1.txt
11
14
RUN ./Configure -Dusethreads -Duse64bitall -des \
12
15
&& make -j$(nproc) \
13
16
&& TEST_JOBS=$(nproc) make test_harness \
Original file line number Diff line number Diff line change
1
+ cd424d1520ba2686fe5d4422565aaf880e9467f6 perl-5.20.1.tar.bz2
You can’t perform that action at this time.
0 commit comments