-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
671 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
FROM buildpack-deps:jessie | ||
LABEL maintainer="Peter Martini <[email protected]>, Zak B. Elep <[email protected]>" | ||
|
||
COPY *.patch /usr/src/perl/ | ||
WORKDIR /usr/src/perl | ||
|
||
RUN true \ | ||
&& curl -SL https://www.cpan.org/src/5.0/perl-5.8.9.tar.bz2 -o perl-5.8.9.tar.bz2 \ | ||
&& echo '1097fbcd48ceccb2bc735d119c9db399a02a8ab9f7dc53e29e47e6a8d0d72e79 *perl-5.8.9.tar.bz2' | sha256sum -c - \ | ||
&& tar --strip-components=1 -xaf perl-5.8.9.tar.bz2 -C /usr/src/perl \ | ||
&& rm perl-5.8.9.tar.bz2 \ | ||
&& cat *.patch | patch -p1 \ | ||
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \ | ||
&& archBits="$(dpkg-architecture --query DEB_BUILD_ARCH_BITS)" \ | ||
&& archFlag="$([ "$archBits" = '64' ] && echo '-Duse64bitall' || echo '-Duse64bitint')" \ | ||
&& ./Configure -Darchname="$gnuArch" "$archFlag" -Dusethreads -Duseshrplib -Dvendorprefix=/usr/local -A ccflags=-fwrapv -Doptimise=-g -DEBUGGING=both -des \ | ||
&& make -j$(nproc) \ | ||
&& make test_harness \ | ||
&& make install \ | ||
&& cd /usr/src \ | ||
&& curl -LO https://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7044.tar.gz \ | ||
&& echo '9b60767fe40752ef7a9d3f13f19060a63389a5c23acc3e9827e19b75500f81f3 *App-cpanminus-1.7044.tar.gz' | sha256sum -c - \ | ||
&& tar -xzf App-cpanminus-1.7044.tar.gz && cd App-cpanminus-1.7044 && perl bin/cpanm . && cd /root \ | ||
&& true \ | ||
&& rm -fr ./cpanm /root/.cpanm /usr/src/perl /usr/src/App-cpanminus-1.7044* /tmp/* | ||
|
||
WORKDIR /root | ||
|
||
CMD ["perl5.8.9","-de0"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
FROM buildpack-deps:jessie | ||
LABEL maintainer="Peter Martini <[email protected]>, Zak B. Elep <[email protected]>" | ||
|
||
COPY *.patch /usr/src/perl/ | ||
WORKDIR /usr/src/perl | ||
|
||
RUN true \ | ||
&& curl -SL https://www.cpan.org/src/5.0/perl-5.8.9.tar.bz2 -o perl-5.8.9.tar.bz2 \ | ||
&& echo '1097fbcd48ceccb2bc735d119c9db399a02a8ab9f7dc53e29e47e6a8d0d72e79 *perl-5.8.9.tar.bz2' | sha256sum -c - \ | ||
&& tar --strip-components=1 -xaf perl-5.8.9.tar.bz2 -C /usr/src/perl \ | ||
&& rm perl-5.8.9.tar.bz2 \ | ||
&& cat *.patch | patch -p1 \ | ||
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \ | ||
&& archBits="$(dpkg-architecture --query DEB_BUILD_ARCH_BITS)" \ | ||
&& archFlag="$([ "$archBits" = '64' ] && echo '-Duse64bitall' || echo '-Duse64bitint')" \ | ||
&& ./Configure -Darchname="$gnuArch" "$archFlag" -Duseshrplib -Dvendorprefix=/usr/local -A ccflags=-fwrapv -Doptimise=-g -DEBUGGING=both -des \ | ||
&& make -j$(nproc) \ | ||
&& make test_harness \ | ||
&& make install \ | ||
&& cd /usr/src \ | ||
&& curl -LO https://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7044.tar.gz \ | ||
&& echo '9b60767fe40752ef7a9d3f13f19060a63389a5c23acc3e9827e19b75500f81f3 *App-cpanminus-1.7044.tar.gz' | sha256sum -c - \ | ||
&& tar -xzf App-cpanminus-1.7044.tar.gz && cd App-cpanminus-1.7044 && perl bin/cpanm . && cd /root \ | ||
&& true \ | ||
&& rm -fr ./cpanm /root/.cpanm /tmp/* /usr/src/App-cpanminus-1.7044* \ | ||
&& apt-get update \ | ||
&& apt-get install --no-install-recommends -y gdb \ | ||
&& rm -fr /var/cache/apt/* /var/lib/apt/lists/* | ||
|
||
WORKDIR /root | ||
|
||
CMD ["perl5.8.9","-de0"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
FROM buildpack-deps:jessie | ||
LABEL maintainer="Peter Martini <[email protected]>, Zak B. Elep <[email protected]>" | ||
|
||
COPY *.patch /usr/src/perl/ | ||
WORKDIR /usr/src/perl | ||
|
||
RUN true \ | ||
&& curl -SL https://www.cpan.org/src/5.0/perl-5.10.1.tar.bz2 -o perl-5.10.1.tar.bz2 \ | ||
&& echo '9385f2c8c2ca8b1dc4a7c31903f1f8dc8f2ba867dc2a9e5c93012ed6b564e826 *perl-5.10.1.tar.bz2' | sha256sum -c - \ | ||
&& tar --strip-components=1 -xaf perl-5.10.1.tar.bz2 -C /usr/src/perl \ | ||
&& rm perl-5.10.1.tar.bz2 \ | ||
&& cat *.patch | patch -p1 \ | ||
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \ | ||
&& archBits="$(dpkg-architecture --query DEB_BUILD_ARCH_BITS)" \ | ||
&& archFlag="$([ "$archBits" = '64' ] && echo '-Duse64bitall' || echo '-Duse64bitint')" \ | ||
&& ./Configure -Darchname="$gnuArch" "$archFlag" -Dusethreads -Duseshrplib -Dvendorprefix=/usr/local -A ccflags=-fwrapv -Doptimise=-g -DEBUGGING=both -des \ | ||
&& make -j$(nproc) \ | ||
&& make test_harness \ | ||
&& make install \ | ||
&& cd /usr/src \ | ||
&& curl -LO https://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7044.tar.gz \ | ||
&& echo '9b60767fe40752ef7a9d3f13f19060a63389a5c23acc3e9827e19b75500f81f3 *App-cpanminus-1.7044.tar.gz' | sha256sum -c - \ | ||
&& tar -xzf App-cpanminus-1.7044.tar.gz && cd App-cpanminus-1.7044 && perl bin/cpanm . && cd /root \ | ||
&& true \ | ||
&& rm -fr ./cpanm /root/.cpanm /usr/src/perl /usr/src/App-cpanminus-1.7044* /tmp/* | ||
|
||
WORKDIR /root | ||
|
||
CMD ["perl5.10.1","-de0"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
FROM buildpack-deps:jessie | ||
LABEL maintainer="Peter Martini <[email protected]>, Zak B. Elep <[email protected]>" | ||
|
||
COPY *.patch /usr/src/perl/ | ||
WORKDIR /usr/src/perl | ||
|
||
RUN true \ | ||
&& curl -SL https://www.cpan.org/src/5.0/perl-5.10.1.tar.bz2 -o perl-5.10.1.tar.bz2 \ | ||
&& echo '9385f2c8c2ca8b1dc4a7c31903f1f8dc8f2ba867dc2a9e5c93012ed6b564e826 *perl-5.10.1.tar.bz2' | sha256sum -c - \ | ||
&& tar --strip-components=1 -xaf perl-5.10.1.tar.bz2 -C /usr/src/perl \ | ||
&& rm perl-5.10.1.tar.bz2 \ | ||
&& cat *.patch | patch -p1 \ | ||
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \ | ||
&& archBits="$(dpkg-architecture --query DEB_BUILD_ARCH_BITS)" \ | ||
&& archFlag="$([ "$archBits" = '64' ] && echo '-Duse64bitall' || echo '-Duse64bitint')" \ | ||
&& ./Configure -Darchname="$gnuArch" "$archFlag" -Duseshrplib -Dvendorprefix=/usr/local -A ccflags=-fwrapv -Doptimise=-g -DEBUGGING=both -des \ | ||
&& make -j$(nproc) \ | ||
&& make test_harness \ | ||
&& make install \ | ||
&& cd /usr/src \ | ||
&& curl -LO https://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7044.tar.gz \ | ||
&& echo '9b60767fe40752ef7a9d3f13f19060a63389a5c23acc3e9827e19b75500f81f3 *App-cpanminus-1.7044.tar.gz' | sha256sum -c - \ | ||
&& tar -xzf App-cpanminus-1.7044.tar.gz && cd App-cpanminus-1.7044 && perl bin/cpanm . && cd /root \ | ||
&& true \ | ||
&& rm -fr ./cpanm /root/.cpanm /tmp/* /usr/src/App-cpanminus-1.7044* \ | ||
&& apt-get update \ | ||
&& apt-get install --no-install-recommends -y gdb \ | ||
&& rm -fr /var/cache/apt/* /var/lib/apt/lists/* | ||
|
||
WORKDIR /root | ||
|
||
CMD ["perl5.10.1","-de0"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
FROM buildpack-deps:jessie | ||
LABEL maintainer="Peter Martini <[email protected]>, Zak B. Elep <[email protected]>" | ||
|
||
COPY *.patch /usr/src/perl/ | ||
WORKDIR /usr/src/perl | ||
|
||
RUN true \ | ||
&& curl -SL https://www.cpan.org/src/5.0/perl-5.12.5.tar.bz2 -o perl-5.12.5.tar.bz2 \ | ||
&& echo '10749417fd3010aae320a34181ad4cd6a4855c1fc63403b87fa4d630b18e966c *perl-5.12.5.tar.bz2' | sha256sum -c - \ | ||
&& tar --strip-components=1 -xaf perl-5.12.5.tar.bz2 -C /usr/src/perl \ | ||
&& rm perl-5.12.5.tar.bz2 \ | ||
&& cat *.patch | patch -p1 \ | ||
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \ | ||
&& archBits="$(dpkg-architecture --query DEB_BUILD_ARCH_BITS)" \ | ||
&& archFlag="$([ "$archBits" = '64' ] && echo '-Duse64bitall' || echo '-Duse64bitint')" \ | ||
&& ./Configure -Darchname="$gnuArch" "$archFlag" -Dusethreads -Duseshrplib -Dvendorprefix=/usr/local -A ccflags=-fwrapv -Doptimise=-g -DEBUGGING=both -des \ | ||
&& make -j$(nproc) \ | ||
&& make test_harness \ | ||
&& make install \ | ||
&& cd /usr/src \ | ||
&& curl -LO https://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7044.tar.gz \ | ||
&& echo '9b60767fe40752ef7a9d3f13f19060a63389a5c23acc3e9827e19b75500f81f3 *App-cpanminus-1.7044.tar.gz' | sha256sum -c - \ | ||
&& tar -xzf App-cpanminus-1.7044.tar.gz && cd App-cpanminus-1.7044 && perl bin/cpanm . && cd /root \ | ||
&& true \ | ||
&& rm -fr ./cpanm /root/.cpanm /usr/src/perl /usr/src/App-cpanminus-1.7044* /tmp/* | ||
|
||
WORKDIR /root | ||
|
||
CMD ["perl5.12.5","-de0"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
FROM buildpack-deps:jessie | ||
LABEL maintainer="Peter Martini <[email protected]>, Zak B. Elep <[email protected]>" | ||
|
||
COPY *.patch /usr/src/perl/ | ||
WORKDIR /usr/src/perl | ||
|
||
RUN true \ | ||
&& curl -SL https://www.cpan.org/src/5.0/perl-5.12.5.tar.bz2 -o perl-5.12.5.tar.bz2 \ | ||
&& echo '10749417fd3010aae320a34181ad4cd6a4855c1fc63403b87fa4d630b18e966c *perl-5.12.5.tar.bz2' | sha256sum -c - \ | ||
&& tar --strip-components=1 -xaf perl-5.12.5.tar.bz2 -C /usr/src/perl \ | ||
&& rm perl-5.12.5.tar.bz2 \ | ||
&& cat *.patch | patch -p1 \ | ||
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \ | ||
&& archBits="$(dpkg-architecture --query DEB_BUILD_ARCH_BITS)" \ | ||
&& archFlag="$([ "$archBits" = '64' ] && echo '-Duse64bitall' || echo '-Duse64bitint')" \ | ||
&& ./Configure -Darchname="$gnuArch" "$archFlag" -Duseshrplib -Dvendorprefix=/usr/local -A ccflags=-fwrapv -Doptimise=-g -DEBUGGING=both -des \ | ||
&& make -j$(nproc) \ | ||
&& make test_harness \ | ||
&& make install \ | ||
&& cd /usr/src \ | ||
&& curl -LO https://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7044.tar.gz \ | ||
&& echo '9b60767fe40752ef7a9d3f13f19060a63389a5c23acc3e9827e19b75500f81f3 *App-cpanminus-1.7044.tar.gz' | sha256sum -c - \ | ||
&& tar -xzf App-cpanminus-1.7044.tar.gz && cd App-cpanminus-1.7044 && perl bin/cpanm . && cd /root \ | ||
&& true \ | ||
&& rm -fr ./cpanm /root/.cpanm /tmp/* /usr/src/App-cpanminus-1.7044* \ | ||
&& apt-get update \ | ||
&& apt-get install --no-install-recommends -y gdb \ | ||
&& rm -fr /var/cache/apt/* /var/lib/apt/lists/* | ||
|
||
WORKDIR /root | ||
|
||
CMD ["perl5.12.5","-de0"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
FROM buildpack-deps:jessie | ||
LABEL maintainer="Peter Martini <[email protected]>, Zak B. Elep <[email protected]>" | ||
|
||
COPY *.patch /usr/src/perl/ | ||
WORKDIR /usr/src/perl | ||
|
||
RUN true \ | ||
&& curl -SL https://www.cpan.org/src/5.0/perl-5.14.4.tar.bz2 -o perl-5.14.4.tar.bz2 \ | ||
&& echo 'eece8c2b0d491bf6f746bd1f4f1bb7ce26f6b98e91c54690c617d7af38964745 *perl-5.14.4.tar.bz2' | sha256sum -c - \ | ||
&& tar --strip-components=1 -xaf perl-5.14.4.tar.bz2 -C /usr/src/perl \ | ||
&& rm perl-5.14.4.tar.bz2 \ | ||
&& cat *.patch | patch -p1 \ | ||
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \ | ||
&& archBits="$(dpkg-architecture --query DEB_BUILD_ARCH_BITS)" \ | ||
&& archFlag="$([ "$archBits" = '64' ] && echo '-Duse64bitall' || echo '-Duse64bitint')" \ | ||
&& ./Configure -Darchname="$gnuArch" "$archFlag" -Dusethreads -Duseshrplib -Dvendorprefix=/usr/local -A ccflags=-fwrapv -Doptimise=-g -DEBUGGING=both -des \ | ||
&& make -j$(nproc) \ | ||
&& make test_harness \ | ||
&& make install \ | ||
&& cd /usr/src \ | ||
&& curl -LO https://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7044.tar.gz \ | ||
&& echo '9b60767fe40752ef7a9d3f13f19060a63389a5c23acc3e9827e19b75500f81f3 *App-cpanminus-1.7044.tar.gz' | sha256sum -c - \ | ||
&& tar -xzf App-cpanminus-1.7044.tar.gz && cd App-cpanminus-1.7044 && perl bin/cpanm . && cd /root \ | ||
&& true \ | ||
&& rm -fr ./cpanm /root/.cpanm /usr/src/perl /usr/src/App-cpanminus-1.7044* /tmp/* | ||
|
||
WORKDIR /root | ||
|
||
CMD ["perl5.14.4","-de0"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
FROM buildpack-deps:jessie | ||
LABEL maintainer="Peter Martini <[email protected]>, Zak B. Elep <[email protected]>" | ||
|
||
COPY *.patch /usr/src/perl/ | ||
WORKDIR /usr/src/perl | ||
|
||
RUN true \ | ||
&& curl -SL https://www.cpan.org/src/5.0/perl-5.14.4.tar.bz2 -o perl-5.14.4.tar.bz2 \ | ||
&& echo 'eece8c2b0d491bf6f746bd1f4f1bb7ce26f6b98e91c54690c617d7af38964745 *perl-5.14.4.tar.bz2' | sha256sum -c - \ | ||
&& tar --strip-components=1 -xaf perl-5.14.4.tar.bz2 -C /usr/src/perl \ | ||
&& rm perl-5.14.4.tar.bz2 \ | ||
&& cat *.patch | patch -p1 \ | ||
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \ | ||
&& archBits="$(dpkg-architecture --query DEB_BUILD_ARCH_BITS)" \ | ||
&& archFlag="$([ "$archBits" = '64' ] && echo '-Duse64bitall' || echo '-Duse64bitint')" \ | ||
&& ./Configure -Darchname="$gnuArch" "$archFlag" -Duseshrplib -Dvendorprefix=/usr/local -A ccflags=-fwrapv -Doptimise=-g -DEBUGGING=both -des \ | ||
&& make -j$(nproc) \ | ||
&& make test_harness \ | ||
&& make install \ | ||
&& cd /usr/src \ | ||
&& curl -LO https://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7044.tar.gz \ | ||
&& echo '9b60767fe40752ef7a9d3f13f19060a63389a5c23acc3e9827e19b75500f81f3 *App-cpanminus-1.7044.tar.gz' | sha256sum -c - \ | ||
&& tar -xzf App-cpanminus-1.7044.tar.gz && cd App-cpanminus-1.7044 && perl bin/cpanm . && cd /root \ | ||
&& true \ | ||
&& rm -fr ./cpanm /root/.cpanm /tmp/* /usr/src/App-cpanminus-1.7044* \ | ||
&& apt-get update \ | ||
&& apt-get install --no-install-recommends -y gdb \ | ||
&& rm -fr /var/cache/apt/* /var/lib/apt/lists/* | ||
|
||
WORKDIR /root | ||
|
||
CMD ["perl5.14.4","-de0"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
FROM buildpack-deps:jessie | ||
LABEL maintainer="Peter Martini <[email protected]>, Zak B. Elep <[email protected]>" | ||
|
||
COPY *.patch /usr/src/perl/ | ||
WORKDIR /usr/src/perl | ||
|
||
RUN true \ | ||
&& curl -SL https://www.cpan.org/src/5.0/perl-5.16.3.tar.bz2 -o perl-5.16.3.tar.bz2 \ | ||
&& echo 'bb7bc735e6813b177dcfccd480defcde7eddefa173b5967eac11babd1bfa98e8 *perl-5.16.3.tar.bz2' | sha256sum -c - \ | ||
&& tar --strip-components=1 -xaf perl-5.16.3.tar.bz2 -C /usr/src/perl \ | ||
&& rm perl-5.16.3.tar.bz2 \ | ||
&& cat *.patch | patch -p1 \ | ||
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \ | ||
&& archBits="$(dpkg-architecture --query DEB_BUILD_ARCH_BITS)" \ | ||
&& archFlag="$([ "$archBits" = '64' ] && echo '-Duse64bitall' || echo '-Duse64bitint')" \ | ||
&& ./Configure -Darchname="$gnuArch" "$archFlag" -Dusethreads -Duseshrplib -Dvendorprefix=/usr/local -A ccflags=-fwrapv -Doptimise=-g -DEBUGGING=both -des \ | ||
&& make -j$(nproc) \ | ||
&& make test_harness \ | ||
&& make install \ | ||
&& cd /usr/src \ | ||
&& curl -LO https://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7044.tar.gz \ | ||
&& echo '9b60767fe40752ef7a9d3f13f19060a63389a5c23acc3e9827e19b75500f81f3 *App-cpanminus-1.7044.tar.gz' | sha256sum -c - \ | ||
&& tar -xzf App-cpanminus-1.7044.tar.gz && cd App-cpanminus-1.7044 && perl bin/cpanm . && cd /root \ | ||
&& true \ | ||
&& rm -fr ./cpanm /root/.cpanm /usr/src/perl /usr/src/App-cpanminus-1.7044* /tmp/* | ||
|
||
WORKDIR /root | ||
|
||
CMD ["perl5.16.3","-de0"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
FROM buildpack-deps:jessie | ||
LABEL maintainer="Peter Martini <[email protected]>, Zak B. Elep <[email protected]>" | ||
|
||
COPY *.patch /usr/src/perl/ | ||
WORKDIR /usr/src/perl | ||
|
||
RUN true \ | ||
&& curl -SL https://www.cpan.org/src/5.0/perl-5.16.3.tar.bz2 -o perl-5.16.3.tar.bz2 \ | ||
&& echo 'bb7bc735e6813b177dcfccd480defcde7eddefa173b5967eac11babd1bfa98e8 *perl-5.16.3.tar.bz2' | sha256sum -c - \ | ||
&& tar --strip-components=1 -xaf perl-5.16.3.tar.bz2 -C /usr/src/perl \ | ||
&& rm perl-5.16.3.tar.bz2 \ | ||
&& cat *.patch | patch -p1 \ | ||
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \ | ||
&& archBits="$(dpkg-architecture --query DEB_BUILD_ARCH_BITS)" \ | ||
&& archFlag="$([ "$archBits" = '64' ] && echo '-Duse64bitall' || echo '-Duse64bitint')" \ | ||
&& ./Configure -Darchname="$gnuArch" "$archFlag" -Duseshrplib -Dvendorprefix=/usr/local -A ccflags=-fwrapv -Doptimise=-g -DEBUGGING=both -des \ | ||
&& make -j$(nproc) \ | ||
&& make test_harness \ | ||
&& make install \ | ||
&& cd /usr/src \ | ||
&& curl -LO https://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7044.tar.gz \ | ||
&& echo '9b60767fe40752ef7a9d3f13f19060a63389a5c23acc3e9827e19b75500f81f3 *App-cpanminus-1.7044.tar.gz' | sha256sum -c - \ | ||
&& tar -xzf App-cpanminus-1.7044.tar.gz && cd App-cpanminus-1.7044 && perl bin/cpanm . && cd /root \ | ||
&& true \ | ||
&& rm -fr ./cpanm /root/.cpanm /tmp/* /usr/src/App-cpanminus-1.7044* \ | ||
&& apt-get update \ | ||
&& apt-get install --no-install-recommends -y gdb \ | ||
&& rm -fr /var/cache/apt/* /var/lib/apt/lists/* | ||
|
||
WORKDIR /root | ||
|
||
CMD ["perl5.16.3","-de0"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
FROM buildpack-deps:jessie | ||
LABEL maintainer="Peter Martini <[email protected]>, Zak B. Elep <[email protected]>" | ||
|
||
COPY *.patch /usr/src/perl/ | ||
WORKDIR /usr/src/perl | ||
|
||
RUN true \ | ||
&& curl -SL https://www.cpan.org/src/5.0/perl-5.18.4.tar.bz2 -o perl-5.18.4.tar.bz2 \ | ||
&& echo '1fb4d27b75cd244e849f253320260efe1750641aaff4a18ce0d67556ff1b96a5 *perl-5.18.4.tar.bz2' | sha256sum -c - \ | ||
&& tar --strip-components=1 -xaf perl-5.18.4.tar.bz2 -C /usr/src/perl \ | ||
&& rm perl-5.18.4.tar.bz2 \ | ||
&& cat *.patch | patch -p1 \ | ||
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \ | ||
&& archBits="$(dpkg-architecture --query DEB_BUILD_ARCH_BITS)" \ | ||
&& archFlag="$([ "$archBits" = '64' ] && echo '-Duse64bitall' || echo '-Duse64bitint')" \ | ||
&& ./Configure -Darchname="$gnuArch" "$archFlag" -Dusethreads -Duseshrplib -Dvendorprefix=/usr/local -A ccflags=-fwrapv -Doptimise=-g -DEBUGGING=both -des \ | ||
&& make -j$(nproc) \ | ||
&& make test_harness \ | ||
&& make install \ | ||
&& cd /usr/src \ | ||
&& curl -LO https://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7044.tar.gz \ | ||
&& echo '9b60767fe40752ef7a9d3f13f19060a63389a5c23acc3e9827e19b75500f81f3 *App-cpanminus-1.7044.tar.gz' | sha256sum -c - \ | ||
&& tar -xzf App-cpanminus-1.7044.tar.gz && cd App-cpanminus-1.7044 && perl bin/cpanm . && cd /root \ | ||
&& true \ | ||
&& rm -fr ./cpanm /root/.cpanm /usr/src/perl /usr/src/App-cpanminus-1.7044* /tmp/* | ||
|
||
WORKDIR /root | ||
|
||
CMD ["perl5.18.4","-de0"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
FROM buildpack-deps:jessie | ||
LABEL maintainer="Peter Martini <[email protected]>, Zak B. Elep <[email protected]>" | ||
|
||
COPY *.patch /usr/src/perl/ | ||
WORKDIR /usr/src/perl | ||
|
||
RUN true \ | ||
&& curl -SL https://www.cpan.org/src/5.0/perl-5.18.4.tar.bz2 -o perl-5.18.4.tar.bz2 \ | ||
&& echo '1fb4d27b75cd244e849f253320260efe1750641aaff4a18ce0d67556ff1b96a5 *perl-5.18.4.tar.bz2' | sha256sum -c - \ | ||
&& tar --strip-components=1 -xaf perl-5.18.4.tar.bz2 -C /usr/src/perl \ | ||
&& rm perl-5.18.4.tar.bz2 \ | ||
&& cat *.patch | patch -p1 \ | ||
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \ | ||
&& archBits="$(dpkg-architecture --query DEB_BUILD_ARCH_BITS)" \ | ||
&& archFlag="$([ "$archBits" = '64' ] && echo '-Duse64bitall' || echo '-Duse64bitint')" \ | ||
&& ./Configure -Darchname="$gnuArch" "$archFlag" -Duseshrplib -Dvendorprefix=/usr/local -A ccflags=-fwrapv -Doptimise=-g -DEBUGGING=both -des \ | ||
&& make -j$(nproc) \ | ||
&& make test_harness \ | ||
&& make install \ | ||
&& cd /usr/src \ | ||
&& curl -LO https://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7044.tar.gz \ | ||
&& echo '9b60767fe40752ef7a9d3f13f19060a63389a5c23acc3e9827e19b75500f81f3 *App-cpanminus-1.7044.tar.gz' | sha256sum -c - \ | ||
&& tar -xzf App-cpanminus-1.7044.tar.gz && cd App-cpanminus-1.7044 && perl bin/cpanm . && cd /root \ | ||
&& true \ | ||
&& rm -fr ./cpanm /root/.cpanm /tmp/* /usr/src/App-cpanminus-1.7044* \ | ||
&& apt-get update \ | ||
&& apt-get install --no-install-recommends -y gdb \ | ||
&& rm -fr /var/cache/apt/* /var/lib/apt/lists/* | ||
|
||
WORKDIR /root | ||
|
||
CMD ["perl5.18.4","-de0"] |
Oops, something went wrong.