-
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
20 changed files
with
740 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,37 @@ | ||
FROM buildpack-deps:bullseye | ||
LABEL maintainer="Peter Martini <PeterCMartini@GMail.com>, Zak B. Elep <zakame@cpan.org>" | ||
|
||
# No DevelPatchPerl.patch generated | ||
WORKDIR /usr/src/perl | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends \ | ||
gdb \ | ||
&& curl -fL https://www.cpan.org/src/5.0/perl-5.34.1.tar.xz -o perl-5.34.1.tar.xz \ | ||
&& echo '6d52cf833ff1af27bb5e986870a2c30cec73c044b41e3458cd991f94374039f7 *perl-5.34.1.tar.xz' | sha256sum --strict --check - \ | ||
&& tar --strip-components=1 -xaf perl-5.34.1.tar.xz -C /usr/src/perl \ | ||
&& rm perl-5.34.1.tar.xz \ | ||
&& 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 -Doptimize=-g -DEBUGGING=both -des \ | ||
&& make -j$(nproc) \ | ||
&& TEST_JOBS=$(nproc) make test_harness \ | ||
&& make install \ | ||
&& cd /usr/src \ | ||
&& curl -fLO https://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7047.tar.gz \ | ||
&& echo '963e63c6e1a8725ff2f624e9086396ae150db51dd0a337c3781d09a994af05a5 *App-cpanminus-1.7047.tar.gz' | sha256sum --strict --check - \ | ||
&& tar -xzf App-cpanminus-1.7047.tar.gz && cd App-cpanminus-1.7047 && perl bin/cpanm . && cd /root \ | ||
&& cpanm IO::Socket::SSL \ | ||
&& curl -fL https://raw.githubusercontent.com/skaji/cpm/0.997011/cpm -o /usr/local/bin/cpm \ | ||
# sha256 checksum is from docker-perl team, cf https://github.com/docker-library/official-images/pull/12612#issuecomment-1158288299 | ||
&& echo '7dee2176a450a8be3a6b9b91dac603a0c3a7e807042626d3fe6c93d843f75610 */usr/local/bin/cpm' | sha256sum --strict --check - \ | ||
&& chmod +x /usr/local/bin/cpm \ | ||
&& rm -fr /var/cache/apt/* /var/lib/apt/lists/* \ | ||
&& rm -fr /root/.cpanm /usr/src/perl /usr/src/App-cpanminus-1.7047* /tmp/* \ | ||
&& cpanm --version && cpm --version | ||
|
||
WORKDIR /usr/src/app | ||
|
||
CMD ["perl5.34.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,37 @@ | ||
FROM buildpack-deps:buster | ||
LABEL maintainer="Peter Martini <PeterCMartini@GMail.com>, Zak B. Elep <zakame@cpan.org>" | ||
|
||
# No DevelPatchPerl.patch generated | ||
WORKDIR /usr/src/perl | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends \ | ||
gdb \ | ||
&& curl -fL https://www.cpan.org/src/5.0/perl-5.34.1.tar.xz -o perl-5.34.1.tar.xz \ | ||
&& echo '6d52cf833ff1af27bb5e986870a2c30cec73c044b41e3458cd991f94374039f7 *perl-5.34.1.tar.xz' | sha256sum --strict --check - \ | ||
&& tar --strip-components=1 -xaf perl-5.34.1.tar.xz -C /usr/src/perl \ | ||
&& rm perl-5.34.1.tar.xz \ | ||
&& 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 -Doptimize=-g -DEBUGGING=both -des \ | ||
&& make -j$(nproc) \ | ||
&& TEST_JOBS=$(nproc) make test_harness \ | ||
&& make install \ | ||
&& cd /usr/src \ | ||
&& curl -fLO https://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7047.tar.gz \ | ||
&& echo '963e63c6e1a8725ff2f624e9086396ae150db51dd0a337c3781d09a994af05a5 *App-cpanminus-1.7047.tar.gz' | sha256sum --strict --check - \ | ||
&& tar -xzf App-cpanminus-1.7047.tar.gz && cd App-cpanminus-1.7047 && perl bin/cpanm . && cd /root \ | ||
&& cpanm IO::Socket::SSL \ | ||
&& curl -fL https://raw.githubusercontent.com/skaji/cpm/0.997011/cpm -o /usr/local/bin/cpm \ | ||
# sha256 checksum is from docker-perl team, cf https://github.com/docker-library/official-images/pull/12612#issuecomment-1158288299 | ||
&& echo '7dee2176a450a8be3a6b9b91dac603a0c3a7e807042626d3fe6c93d843f75610 */usr/local/bin/cpm' | sha256sum --strict --check - \ | ||
&& chmod +x /usr/local/bin/cpm \ | ||
&& rm -fr /var/cache/apt/* /var/lib/apt/lists/* \ | ||
&& rm -fr /root/.cpanm /usr/src/perl /usr/src/App-cpanminus-1.7047* /tmp/* \ | ||
&& cpanm --version && cpm --version | ||
|
||
WORKDIR /usr/src/app | ||
|
||
CMD ["perl5.34.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,37 @@ | ||
FROM buildpack-deps:bullseye | ||
LABEL maintainer="Peter Martini <PeterCMartini@GMail.com>, Zak B. Elep <zakame@cpan.org>" | ||
|
||
# No DevelPatchPerl.patch generated | ||
WORKDIR /usr/src/perl | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends \ | ||
gdb \ | ||
&& curl -fL https://www.cpan.org/src/5.0/perl-5.34.1.tar.xz -o perl-5.34.1.tar.xz \ | ||
&& echo '6d52cf833ff1af27bb5e986870a2c30cec73c044b41e3458cd991f94374039f7 *perl-5.34.1.tar.xz' | sha256sum --strict --check - \ | ||
&& tar --strip-components=1 -xaf perl-5.34.1.tar.xz -C /usr/src/perl \ | ||
&& rm perl-5.34.1.tar.xz \ | ||
&& 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 -Doptimize=-g -DEBUGGING=both -des \ | ||
&& make -j$(nproc) \ | ||
&& TEST_JOBS=$(nproc) make test_harness \ | ||
&& make install \ | ||
&& cd /usr/src \ | ||
&& curl -fLO https://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7047.tar.gz \ | ||
&& echo '963e63c6e1a8725ff2f624e9086396ae150db51dd0a337c3781d09a994af05a5 *App-cpanminus-1.7047.tar.gz' | sha256sum --strict --check - \ | ||
&& tar -xzf App-cpanminus-1.7047.tar.gz && cd App-cpanminus-1.7047 && perl bin/cpanm . && cd /root \ | ||
&& cpanm IO::Socket::SSL \ | ||
&& curl -fL https://raw.githubusercontent.com/skaji/cpm/0.997011/cpm -o /usr/local/bin/cpm \ | ||
# sha256 checksum is from docker-perl team, cf https://github.com/docker-library/official-images/pull/12612#issuecomment-1158288299 | ||
&& echo '7dee2176a450a8be3a6b9b91dac603a0c3a7e807042626d3fe6c93d843f75610 */usr/local/bin/cpm' | sha256sum --strict --check - \ | ||
&& chmod +x /usr/local/bin/cpm \ | ||
&& rm -fr /var/cache/apt/* /var/lib/apt/lists/* \ | ||
&& rm -fr /root/.cpanm /usr/src/perl /usr/src/App-cpanminus-1.7047* /tmp/* \ | ||
&& cpanm --version && cpm --version | ||
|
||
WORKDIR /usr/src/app | ||
|
||
CMD ["perl5.34.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,37 @@ | ||
FROM buildpack-deps:buster | ||
LABEL maintainer="Peter Martini <PeterCMartini@GMail.com>, Zak B. Elep <zakame@cpan.org>" | ||
|
||
# No DevelPatchPerl.patch generated | ||
WORKDIR /usr/src/perl | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends \ | ||
gdb \ | ||
&& curl -fL https://www.cpan.org/src/5.0/perl-5.34.1.tar.xz -o perl-5.34.1.tar.xz \ | ||
&& echo '6d52cf833ff1af27bb5e986870a2c30cec73c044b41e3458cd991f94374039f7 *perl-5.34.1.tar.xz' | sha256sum --strict --check - \ | ||
&& tar --strip-components=1 -xaf perl-5.34.1.tar.xz -C /usr/src/perl \ | ||
&& rm perl-5.34.1.tar.xz \ | ||
&& 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 -Doptimize=-g -DEBUGGING=both -des \ | ||
&& make -j$(nproc) \ | ||
&& TEST_JOBS=$(nproc) make test_harness \ | ||
&& make install \ | ||
&& cd /usr/src \ | ||
&& curl -fLO https://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7047.tar.gz \ | ||
&& echo '963e63c6e1a8725ff2f624e9086396ae150db51dd0a337c3781d09a994af05a5 *App-cpanminus-1.7047.tar.gz' | sha256sum --strict --check - \ | ||
&& tar -xzf App-cpanminus-1.7047.tar.gz && cd App-cpanminus-1.7047 && perl bin/cpanm . && cd /root \ | ||
&& cpanm IO::Socket::SSL \ | ||
&& curl -fL https://raw.githubusercontent.com/skaji/cpm/0.997011/cpm -o /usr/local/bin/cpm \ | ||
# sha256 checksum is from docker-perl team, cf https://github.com/docker-library/official-images/pull/12612#issuecomment-1158288299 | ||
&& echo '7dee2176a450a8be3a6b9b91dac603a0c3a7e807042626d3fe6c93d843f75610 */usr/local/bin/cpm' | sha256sum --strict --check - \ | ||
&& chmod +x /usr/local/bin/cpm \ | ||
&& rm -fr /var/cache/apt/* /var/lib/apt/lists/* \ | ||
&& rm -fr /root/.cpanm /usr/src/perl /usr/src/App-cpanminus-1.7047* /tmp/* \ | ||
&& cpanm --version && cpm --version | ||
|
||
WORKDIR /usr/src/app | ||
|
||
CMD ["perl5.34.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,37 @@ | ||
FROM buildpack-deps:bookworm | ||
LABEL maintainer="Peter Martini <PeterCMartini@GMail.com>, Zak B. Elep <zakame@cpan.org>" | ||
|
||
# No DevelPatchPerl.patch generated | ||
WORKDIR /usr/src/perl | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends \ | ||
gdb \ | ||
&& curl -fL https://www.cpan.org/src/5.0/perl-5.36.1.tar.xz -o perl-5.36.1.tar.xz \ | ||
&& echo 'bd91217ea8a8c8b81f21ebbb6cefdf0d13ae532013f944cdece2cd51aef4b6a7 *perl-5.36.1.tar.xz' | sha256sum --strict --check - \ | ||
&& tar --strip-components=1 -xaf perl-5.36.1.tar.xz -C /usr/src/perl \ | ||
&& rm perl-5.36.1.tar.xz \ | ||
&& 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 -Doptimize=-g -DEBUGGING=both -des \ | ||
&& make -j$(nproc) \ | ||
&& TEST_JOBS=$(nproc) make test_harness \ | ||
&& make install \ | ||
&& cd /usr/src \ | ||
&& curl -fLO https://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7047.tar.gz \ | ||
&& echo '963e63c6e1a8725ff2f624e9086396ae150db51dd0a337c3781d09a994af05a5 *App-cpanminus-1.7047.tar.gz' | sha256sum --strict --check - \ | ||
&& tar -xzf App-cpanminus-1.7047.tar.gz && cd App-cpanminus-1.7047 && perl bin/cpanm . && cd /root \ | ||
&& cpanm IO::Socket::SSL \ | ||
&& curl -fL https://raw.githubusercontent.com/skaji/cpm/0.997011/cpm -o /usr/local/bin/cpm \ | ||
# sha256 checksum is from docker-perl team, cf https://github.com/docker-library/official-images/pull/12612#issuecomment-1158288299 | ||
&& echo '7dee2176a450a8be3a6b9b91dac603a0c3a7e807042626d3fe6c93d843f75610 */usr/local/bin/cpm' | sha256sum --strict --check - \ | ||
&& chmod +x /usr/local/bin/cpm \ | ||
&& rm -fr /var/cache/apt/* /var/lib/apt/lists/* \ | ||
&& rm -fr /root/.cpanm /usr/src/perl /usr/src/App-cpanminus-1.7047* /tmp/* \ | ||
&& cpanm --version && cpm --version | ||
|
||
WORKDIR /usr/src/app | ||
|
||
CMD ["perl5.36.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,37 @@ | ||
FROM buildpack-deps:bullseye | ||
LABEL maintainer="Peter Martini <PeterCMartini@GMail.com>, Zak B. Elep <zakame@cpan.org>" | ||
|
||
# No DevelPatchPerl.patch generated | ||
WORKDIR /usr/src/perl | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends \ | ||
gdb \ | ||
&& curl -fL https://www.cpan.org/src/5.0/perl-5.36.1.tar.xz -o perl-5.36.1.tar.xz \ | ||
&& echo 'bd91217ea8a8c8b81f21ebbb6cefdf0d13ae532013f944cdece2cd51aef4b6a7 *perl-5.36.1.tar.xz' | sha256sum --strict --check - \ | ||
&& tar --strip-components=1 -xaf perl-5.36.1.tar.xz -C /usr/src/perl \ | ||
&& rm perl-5.36.1.tar.xz \ | ||
&& 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 -Doptimize=-g -DEBUGGING=both -des \ | ||
&& make -j$(nproc) \ | ||
&& TEST_JOBS=$(nproc) make test_harness \ | ||
&& make install \ | ||
&& cd /usr/src \ | ||
&& curl -fLO https://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7047.tar.gz \ | ||
&& echo '963e63c6e1a8725ff2f624e9086396ae150db51dd0a337c3781d09a994af05a5 *App-cpanminus-1.7047.tar.gz' | sha256sum --strict --check - \ | ||
&& tar -xzf App-cpanminus-1.7047.tar.gz && cd App-cpanminus-1.7047 && perl bin/cpanm . && cd /root \ | ||
&& cpanm IO::Socket::SSL \ | ||
&& curl -fL https://raw.githubusercontent.com/skaji/cpm/0.997011/cpm -o /usr/local/bin/cpm \ | ||
# sha256 checksum is from docker-perl team, cf https://github.com/docker-library/official-images/pull/12612#issuecomment-1158288299 | ||
&& echo '7dee2176a450a8be3a6b9b91dac603a0c3a7e807042626d3fe6c93d843f75610 */usr/local/bin/cpm' | sha256sum --strict --check - \ | ||
&& chmod +x /usr/local/bin/cpm \ | ||
&& rm -fr /var/cache/apt/* /var/lib/apt/lists/* \ | ||
&& rm -fr /root/.cpanm /usr/src/perl /usr/src/App-cpanminus-1.7047* /tmp/* \ | ||
&& cpanm --version && cpm --version | ||
|
||
WORKDIR /usr/src/app | ||
|
||
CMD ["perl5.36.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,37 @@ | ||
FROM buildpack-deps:buster | ||
LABEL maintainer="Peter Martini <PeterCMartini@GMail.com>, Zak B. Elep <zakame@cpan.org>" | ||
|
||
# No DevelPatchPerl.patch generated | ||
WORKDIR /usr/src/perl | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends \ | ||
gdb \ | ||
&& curl -fL https://www.cpan.org/src/5.0/perl-5.36.1.tar.xz -o perl-5.36.1.tar.xz \ | ||
&& echo 'bd91217ea8a8c8b81f21ebbb6cefdf0d13ae532013f944cdece2cd51aef4b6a7 *perl-5.36.1.tar.xz' | sha256sum --strict --check - \ | ||
&& tar --strip-components=1 -xaf perl-5.36.1.tar.xz -C /usr/src/perl \ | ||
&& rm perl-5.36.1.tar.xz \ | ||
&& 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 -Doptimize=-g -DEBUGGING=both -des \ | ||
&& make -j$(nproc) \ | ||
&& TEST_JOBS=$(nproc) make test_harness \ | ||
&& make install \ | ||
&& cd /usr/src \ | ||
&& curl -fLO https://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7047.tar.gz \ | ||
&& echo '963e63c6e1a8725ff2f624e9086396ae150db51dd0a337c3781d09a994af05a5 *App-cpanminus-1.7047.tar.gz' | sha256sum --strict --check - \ | ||
&& tar -xzf App-cpanminus-1.7047.tar.gz && cd App-cpanminus-1.7047 && perl bin/cpanm . && cd /root \ | ||
&& cpanm IO::Socket::SSL \ | ||
&& curl -fL https://raw.githubusercontent.com/skaji/cpm/0.997011/cpm -o /usr/local/bin/cpm \ | ||
# sha256 checksum is from docker-perl team, cf https://github.com/docker-library/official-images/pull/12612#issuecomment-1158288299 | ||
&& echo '7dee2176a450a8be3a6b9b91dac603a0c3a7e807042626d3fe6c93d843f75610 */usr/local/bin/cpm' | sha256sum --strict --check - \ | ||
&& chmod +x /usr/local/bin/cpm \ | ||
&& rm -fr /var/cache/apt/* /var/lib/apt/lists/* \ | ||
&& rm -fr /root/.cpanm /usr/src/perl /usr/src/App-cpanminus-1.7047* /tmp/* \ | ||
&& cpanm --version && cpm --version | ||
|
||
WORKDIR /usr/src/app | ||
|
||
CMD ["perl5.36.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,37 @@ | ||
FROM buildpack-deps:bookworm | ||
LABEL maintainer="Peter Martini <PeterCMartini@GMail.com>, Zak B. Elep <zakame@cpan.org>" | ||
|
||
# No DevelPatchPerl.patch generated | ||
WORKDIR /usr/src/perl | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends \ | ||
gdb \ | ||
&& curl -fL https://www.cpan.org/src/5.0/perl-5.36.1.tar.xz -o perl-5.36.1.tar.xz \ | ||
&& echo 'bd91217ea8a8c8b81f21ebbb6cefdf0d13ae532013f944cdece2cd51aef4b6a7 *perl-5.36.1.tar.xz' | sha256sum --strict --check - \ | ||
&& tar --strip-components=1 -xaf perl-5.36.1.tar.xz -C /usr/src/perl \ | ||
&& rm perl-5.36.1.tar.xz \ | ||
&& 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 -Doptimize=-g -DEBUGGING=both -des \ | ||
&& make -j$(nproc) \ | ||
&& TEST_JOBS=$(nproc) make test_harness \ | ||
&& make install \ | ||
&& cd /usr/src \ | ||
&& curl -fLO https://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7047.tar.gz \ | ||
&& echo '963e63c6e1a8725ff2f624e9086396ae150db51dd0a337c3781d09a994af05a5 *App-cpanminus-1.7047.tar.gz' | sha256sum --strict --check - \ | ||
&& tar -xzf App-cpanminus-1.7047.tar.gz && cd App-cpanminus-1.7047 && perl bin/cpanm . && cd /root \ | ||
&& cpanm IO::Socket::SSL \ | ||
&& curl -fL https://raw.githubusercontent.com/skaji/cpm/0.997011/cpm -o /usr/local/bin/cpm \ | ||
# sha256 checksum is from docker-perl team, cf https://github.com/docker-library/official-images/pull/12612#issuecomment-1158288299 | ||
&& echo '7dee2176a450a8be3a6b9b91dac603a0c3a7e807042626d3fe6c93d843f75610 */usr/local/bin/cpm' | sha256sum --strict --check - \ | ||
&& chmod +x /usr/local/bin/cpm \ | ||
&& rm -fr /var/cache/apt/* /var/lib/apt/lists/* \ | ||
&& rm -fr /root/.cpanm /usr/src/perl /usr/src/App-cpanminus-1.7047* /tmp/* \ | ||
&& cpanm --version && cpm --version | ||
|
||
WORKDIR /usr/src/app | ||
|
||
CMD ["perl5.36.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,37 @@ | ||
FROM buildpack-deps:bullseye | ||
LABEL maintainer="Peter Martini <PeterCMartini@GMail.com>, Zak B. Elep <zakame@cpan.org>" | ||
|
||
# No DevelPatchPerl.patch generated | ||
WORKDIR /usr/src/perl | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends \ | ||
gdb \ | ||
&& curl -fL https://www.cpan.org/src/5.0/perl-5.36.1.tar.xz -o perl-5.36.1.tar.xz \ | ||
&& echo 'bd91217ea8a8c8b81f21ebbb6cefdf0d13ae532013f944cdece2cd51aef4b6a7 *perl-5.36.1.tar.xz' | sha256sum --strict --check - \ | ||
&& tar --strip-components=1 -xaf perl-5.36.1.tar.xz -C /usr/src/perl \ | ||
&& rm perl-5.36.1.tar.xz \ | ||
&& 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 -Doptimize=-g -DEBUGGING=both -des \ | ||
&& make -j$(nproc) \ | ||
&& TEST_JOBS=$(nproc) make test_harness \ | ||
&& make install \ | ||
&& cd /usr/src \ | ||
&& curl -fLO https://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7047.tar.gz \ | ||
&& echo '963e63c6e1a8725ff2f624e9086396ae150db51dd0a337c3781d09a994af05a5 *App-cpanminus-1.7047.tar.gz' | sha256sum --strict --check - \ | ||
&& tar -xzf App-cpanminus-1.7047.tar.gz && cd App-cpanminus-1.7047 && perl bin/cpanm . && cd /root \ | ||
&& cpanm IO::Socket::SSL \ | ||
&& curl -fL https://raw.githubusercontent.com/skaji/cpm/0.997011/cpm -o /usr/local/bin/cpm \ | ||
# sha256 checksum is from docker-perl team, cf https://github.com/docker-library/official-images/pull/12612#issuecomment-1158288299 | ||
&& echo '7dee2176a450a8be3a6b9b91dac603a0c3a7e807042626d3fe6c93d843f75610 */usr/local/bin/cpm' | sha256sum --strict --check - \ | ||
&& chmod +x /usr/local/bin/cpm \ | ||
&& rm -fr /var/cache/apt/* /var/lib/apt/lists/* \ | ||
&& rm -fr /root/.cpanm /usr/src/perl /usr/src/App-cpanminus-1.7047* /tmp/* \ | ||
&& cpanm --version && cpm --version | ||
|
||
WORKDIR /usr/src/app | ||
|
||
CMD ["perl5.36.1","-de0"] |
Oops, something went wrong.