Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

library/perl: patch cpanm to use --no-lwp by default #17519

Merged
merged 2 commits into from
Sep 9, 2024

Conversation

zakame
Copy link
Contributor

@zakame zakame commented Sep 9, 2024

@zakame zakame requested a review from a team as a code owner September 9, 2024 15:42

This comment has been minimized.

This comment has been minimized.

Copy link

github-actions bot commented Sep 9, 2024

Diff for 2895821:
diff --git a/_bashbrew-cat b/_bashbrew-cat
index 5c77b4e..3576e90 100644
--- a/_bashbrew-cat
+++ b/_bashbrew-cat
@@ -1,100 +1,116 @@
 Maintainers: Peter Martini <[email protected]> (@PeterMartini), Zak B. Elep <[email protected]> (@zakame)
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
 GitRepo: https://github.com/perl/docker-perl.git
-GitCommit: d78befa15ec5827f5aa5bbe4e97e7a30e7960daa
+GitCommit: fa9f0515f305a323bc34204cda600a745e901356
 
 Tags: 5.36.3, 5.36, 5.36.3-bookworm, 5.36-bookworm
 Directory: 5.036.003-main-bookworm
 
 Tags: 5.36.3-bullseye, 5.36-bullseye
+Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, s390x
 Directory: 5.036.003-main-bullseye
 
 Tags: 5.36.3-slim, 5.36-slim, 5.36.3-slim-bookworm, 5.36-slim-bookworm
 Directory: 5.036.003-slim-bookworm
 
 Tags: 5.36.3-slim-bullseye, 5.36-slim-bullseye
+Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, s390x
 Directory: 5.036.003-slim-bullseye
 
 Tags: 5.36.3-slim-threaded, 5.36-slim-threaded, 5.36.3-slim-threaded-bookworm, 5.36-slim-threaded-bookworm
 Directory: 5.036.003-slim,threaded-bookworm
 
 Tags: 5.36.3-slim-threaded-bullseye, 5.36-slim-threaded-bullseye
+Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, s390x
 Directory: 5.036.003-slim,threaded-bullseye
 
 Tags: 5.36.3-threaded, 5.36-threaded, 5.36.3-threaded-bookworm, 5.36-threaded-bookworm
 Directory: 5.036.003-main,threaded-bookworm
 
 Tags: 5.36.3-threaded-bullseye, 5.36-threaded-bullseye
+Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, s390x
 Directory: 5.036.003-main,threaded-bullseye
 
 Tags: 5.38.2, 5.38, 5.38.2-bookworm, 5.38-bookworm
 Directory: 5.038.002-main-bookworm
 
 Tags: 5.38.2-bullseye, 5.38-bullseye
+Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, s390x
 Directory: 5.038.002-main-bullseye
 
 Tags: 5.38.2-slim, 5.38-slim, 5.38.2-slim-bookworm, 5.38-slim-bookworm
 Directory: 5.038.002-slim-bookworm
 
 Tags: 5.38.2-slim-bullseye, 5.38-slim-bullseye
+Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, s390x
 Directory: 5.038.002-slim-bullseye
 
 Tags: 5.38.2-slim-threaded, 5.38-slim-threaded, 5.38.2-slim-threaded-bookworm, 5.38-slim-threaded-bookworm
 Directory: 5.038.002-slim,threaded-bookworm
 
 Tags: 5.38.2-slim-threaded-bullseye, 5.38-slim-threaded-bullseye
+Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, s390x
 Directory: 5.038.002-slim,threaded-bullseye
 
 Tags: 5.38.2-threaded, 5.38-threaded, 5.38.2-threaded-bookworm, 5.38-threaded-bookworm
 Directory: 5.038.002-main,threaded-bookworm
 
 Tags: 5.38.2-threaded-bullseye, 5.38-threaded-bullseye
+Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, s390x
 Directory: 5.038.002-main,threaded-bullseye
 
 Tags: 5.40.0, 5.40, 5, latest, stable, 5.40.0-bookworm, 5.40-bookworm, 5-bookworm, bookworm, stable-bookworm
 Directory: 5.040.000-main-bookworm
 
 Tags: 5.40.0-bullseye, 5.40-bullseye, 5-bullseye, bullseye, stable-bullseye
+Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, s390x
 Directory: 5.040.000-main-bullseye
 
 Tags: 5.40.0-slim, 5.40-slim, 5-slim, slim, stable-slim, 5.40.0-slim-bookworm, 5.40-slim-bookworm, 5-slim-bookworm, slim-bookworm, stable-slim-bookworm
 Directory: 5.040.000-slim-bookworm
 
 Tags: 5.40.0-slim-bullseye, 5.40-slim-bullseye, 5-slim-bullseye, slim-bullseye, stable-slim-bullseye
+Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, s390x
 Directory: 5.040.000-slim-bullseye
 
 Tags: 5.40.0-slim-threaded, 5.40-slim-threaded, 5-slim-threaded, slim-threaded, stable-slim-threaded, 5.40.0-slim-threaded-bookworm, 5.40-slim-threaded-bookworm, 5-slim-threaded-bookworm, slim-threaded-bookworm, stable-slim-threaded-bookworm
 Directory: 5.040.000-slim,threaded-bookworm
 
 Tags: 5.40.0-slim-threaded-bullseye, 5.40-slim-threaded-bullseye, 5-slim-threaded-bullseye, slim-threaded-bullseye, stable-slim-threaded-bullseye
+Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, s390x
 Directory: 5.040.000-slim,threaded-bullseye
 
 Tags: 5.40.0-threaded, 5.40-threaded, 5-threaded, threaded, stable-threaded, 5.40.0-threaded-bookworm, 5.40-threaded-bookworm, 5-threaded-bookworm, threaded-bookworm, stable-threaded-bookworm
 Directory: 5.040.000-main,threaded-bookworm
 
 Tags: 5.40.0-threaded-bullseye, 5.40-threaded-bullseye, 5-threaded-bullseye, threaded-bullseye, stable-threaded-bullseye
+Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, s390x
 Directory: 5.040.000-main,threaded-bullseye
 
 Tags: 5.41.3, 5.41, devel, 5.41.3-bookworm, 5.41-bookworm, devel-bookworm
 Directory: 5.041.003-main-bookworm
 
 Tags: 5.41.3-bullseye, 5.41-bullseye, devel-bullseye
+Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, s390x
 Directory: 5.041.003-main-bullseye
 
 Tags: 5.41.3-slim, 5.41-slim, devel-slim, 5.41.3-slim-bookworm, 5.41-slim-bookworm, devel-slim-bookworm
 Directory: 5.041.003-slim-bookworm
 
 Tags: 5.41.3-slim-bullseye, 5.41-slim-bullseye, devel-slim-bullseye
+Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, s390x
 Directory: 5.041.003-slim-bullseye
 
 Tags: 5.41.3-slim-threaded, 5.41-slim-threaded, devel-slim-threaded, 5.41.3-slim-threaded-bookworm, 5.41-slim-threaded-bookworm, devel-slim-threaded-bookworm
 Directory: 5.041.003-slim,threaded-bookworm
 
 Tags: 5.41.3-slim-threaded-bullseye, 5.41-slim-threaded-bullseye, devel-slim-threaded-bullseye
+Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, s390x
 Directory: 5.041.003-slim,threaded-bullseye
 
 Tags: 5.41.3-threaded, 5.41-threaded, devel-threaded, 5.41.3-threaded-bookworm, 5.41-threaded-bookworm, devel-threaded-bookworm
 Directory: 5.041.003-main,threaded-bookworm
 
 Tags: 5.41.3-threaded-bullseye, 5.41-threaded-bullseye, devel-threaded-bullseye
+Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, s390x
 Directory: 5.041.003-main,threaded-bullseye
diff --git a/perl_5.36-bookworm/Dockerfile b/perl_5.36-bookworm/Dockerfile
index fb5dd91..9e1cb45 100644
--- a/perl_5.36-bookworm/Dockerfile
+++ b/perl_5.36-bookworm/Dockerfile
@@ -21,6 +21,7 @@ RUN true \
     && 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 -pi -E 's{http://(www\.cpan\.org|backpan\.perl\.org|cpan\.metacpan\.org|fastapi\.metacpan\.org|cpanmetadb\.plackperl\.org)}{https://$1}g' bin/cpanm \
+    && perl -pi -E 's{try_lwp=>1}{try_lwp=>0}g' bin/cpanm \
     && perl bin/cpanm . && cd /root \
     && curl -fLO 'https://www.cpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.94.tar.gz' \
     && echo '9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d *Net-SSLeay-1.94.tar.gz' | sha256sum --strict --check - \
diff --git a/perl_5.36-bullseye/Dockerfile b/perl_5.36-bullseye/Dockerfile
index d39ac70..68bc23f 100644
--- a/perl_5.36-bullseye/Dockerfile
+++ b/perl_5.36-bullseye/Dockerfile
@@ -21,6 +21,7 @@ RUN true \
     && 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 -pi -E 's{http://(www\.cpan\.org|backpan\.perl\.org|cpan\.metacpan\.org|fastapi\.metacpan\.org|cpanmetadb\.plackperl\.org)}{https://$1}g' bin/cpanm \
+    && perl -pi -E 's{try_lwp=>1}{try_lwp=>0}g' bin/cpanm \
     && perl bin/cpanm . && cd /root \
     && curl -fLO 'https://www.cpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.94.tar.gz' \
     && echo '9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d *Net-SSLeay-1.94.tar.gz' | sha256sum --strict --check - \
diff --git a/perl_5.36-slim-bookworm/Dockerfile b/perl_5.36-slim-bookworm/Dockerfile
index 67425d5..a16c53e 100644
--- a/perl_5.36-slim-bookworm/Dockerfile
+++ b/perl_5.36-slim-bookworm/Dockerfile
@@ -42,6 +42,7 @@ RUN apt-get update \
     && 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 -pi -E 's{http://(www\.cpan\.org|backpan\.perl\.org|cpan\.metacpan\.org|fastapi\.metacpan\.org|cpanmetadb\.plackperl\.org)}{https://$1}g' bin/cpanm \
+    && perl -pi -E 's{try_lwp=>1}{try_lwp=>0}g' bin/cpanm \
     && perl bin/cpanm . && cd /root \
     && curl -fLO 'https://www.cpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.94.tar.gz' \
     && echo '9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d *Net-SSLeay-1.94.tar.gz' | sha256sum --strict --check - \
@@ -53,7 +54,7 @@ RUN apt-get update \
     # sha256 checksum is from docker-perl team, cf https://github.com/docker-library/official-images/pull/12612#issuecomment-1158288299
     && echo 'e3931a7d994c96f9c74b97d1b5b75a554fc4f06eadef1eca26ecc0bdcd1f2d11 */usr/local/bin/cpm' | sha256sum --strict --check - \
     && chmod +x /usr/local/bin/cpm \
-    && savedPackages="ca-certificates make netbase zlib1g-dev libssl-dev" \
+    && savedPackages="ca-certificates curl make netbase zlib1g-dev libssl-dev" \
     && apt-mark auto '.*' > /dev/null \
     && apt-mark manual $savedPackages \
     && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
diff --git a/perl_5.36-slim-bullseye/Dockerfile b/perl_5.36-slim-bullseye/Dockerfile
index 2b13e75..b5f3996 100644
--- a/perl_5.36-slim-bullseye/Dockerfile
+++ b/perl_5.36-slim-bullseye/Dockerfile
@@ -42,6 +42,7 @@ RUN apt-get update \
     && 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 -pi -E 's{http://(www\.cpan\.org|backpan\.perl\.org|cpan\.metacpan\.org|fastapi\.metacpan\.org|cpanmetadb\.plackperl\.org)}{https://$1}g' bin/cpanm \
+    && perl -pi -E 's{try_lwp=>1}{try_lwp=>0}g' bin/cpanm \
     && perl bin/cpanm . && cd /root \
     && curl -fLO 'https://www.cpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.94.tar.gz' \
     && echo '9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d *Net-SSLeay-1.94.tar.gz' | sha256sum --strict --check - \
@@ -53,7 +54,7 @@ RUN apt-get update \
     # sha256 checksum is from docker-perl team, cf https://github.com/docker-library/official-images/pull/12612#issuecomment-1158288299
     && echo 'e3931a7d994c96f9c74b97d1b5b75a554fc4f06eadef1eca26ecc0bdcd1f2d11 */usr/local/bin/cpm' | sha256sum --strict --check - \
     && chmod +x /usr/local/bin/cpm \
-    && savedPackages="ca-certificates make netbase zlib1g-dev libssl-dev" \
+    && savedPackages="ca-certificates curl make netbase zlib1g-dev libssl-dev" \
     && apt-mark auto '.*' > /dev/null \
     && apt-mark manual $savedPackages \
     && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
diff --git a/perl_5.36-slim-threaded-bookworm/Dockerfile b/perl_5.36-slim-threaded-bookworm/Dockerfile
index 6143520..9b7ec63 100644
--- a/perl_5.36-slim-threaded-bookworm/Dockerfile
+++ b/perl_5.36-slim-threaded-bookworm/Dockerfile
@@ -42,6 +42,7 @@ RUN apt-get update \
     && 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 -pi -E 's{http://(www\.cpan\.org|backpan\.perl\.org|cpan\.metacpan\.org|fastapi\.metacpan\.org|cpanmetadb\.plackperl\.org)}{https://$1}g' bin/cpanm \
+    && perl -pi -E 's{try_lwp=>1}{try_lwp=>0}g' bin/cpanm \
     && perl bin/cpanm . && cd /root \
     && curl -fLO 'https://www.cpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.94.tar.gz' \
     && echo '9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d *Net-SSLeay-1.94.tar.gz' | sha256sum --strict --check - \
@@ -53,7 +54,7 @@ RUN apt-get update \
     # sha256 checksum is from docker-perl team, cf https://github.com/docker-library/official-images/pull/12612#issuecomment-1158288299
     && echo 'e3931a7d994c96f9c74b97d1b5b75a554fc4f06eadef1eca26ecc0bdcd1f2d11 */usr/local/bin/cpm' | sha256sum --strict --check - \
     && chmod +x /usr/local/bin/cpm \
-    && savedPackages="ca-certificates make netbase zlib1g-dev libssl-dev" \
+    && savedPackages="ca-certificates curl make netbase zlib1g-dev libssl-dev" \
     && apt-mark auto '.*' > /dev/null \
     && apt-mark manual $savedPackages \
     && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
diff --git a/perl_5.36-slim-threaded-bullseye/Dockerfile b/perl_5.36-slim-threaded-bullseye/Dockerfile
index 67f2eb9..e52229b 100644
--- a/perl_5.36-slim-threaded-bullseye/Dockerfile
+++ b/perl_5.36-slim-threaded-bullseye/Dockerfile
@@ -42,6 +42,7 @@ RUN apt-get update \
     && 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 -pi -E 's{http://(www\.cpan\.org|backpan\.perl\.org|cpan\.metacpan\.org|fastapi\.metacpan\.org|cpanmetadb\.plackperl\.org)}{https://$1}g' bin/cpanm \
+    && perl -pi -E 's{try_lwp=>1}{try_lwp=>0}g' bin/cpanm \
     && perl bin/cpanm . && cd /root \
     && curl -fLO 'https://www.cpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.94.tar.gz' \
     && echo '9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d *Net-SSLeay-1.94.tar.gz' | sha256sum --strict --check - \
@@ -53,7 +54,7 @@ RUN apt-get update \
     # sha256 checksum is from docker-perl team, cf https://github.com/docker-library/official-images/pull/12612#issuecomment-1158288299
     && echo 'e3931a7d994c96f9c74b97d1b5b75a554fc4f06eadef1eca26ecc0bdcd1f2d11 */usr/local/bin/cpm' | sha256sum --strict --check - \
     && chmod +x /usr/local/bin/cpm \
-    && savedPackages="ca-certificates make netbase zlib1g-dev libssl-dev" \
+    && savedPackages="ca-certificates curl make netbase zlib1g-dev libssl-dev" \
     && apt-mark auto '.*' > /dev/null \
     && apt-mark manual $savedPackages \
     && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
diff --git a/perl_5.36-threaded-bookworm/Dockerfile b/perl_5.36-threaded-bookworm/Dockerfile
index ae57bfb..ed6392b 100644
--- a/perl_5.36-threaded-bookworm/Dockerfile
+++ b/perl_5.36-threaded-bookworm/Dockerfile
@@ -21,6 +21,7 @@ RUN true \
     && 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 -pi -E 's{http://(www\.cpan\.org|backpan\.perl\.org|cpan\.metacpan\.org|fastapi\.metacpan\.org|cpanmetadb\.plackperl\.org)}{https://$1}g' bin/cpanm \
+    && perl -pi -E 's{try_lwp=>1}{try_lwp=>0}g' bin/cpanm \
     && perl bin/cpanm . && cd /root \
     && curl -fLO 'https://www.cpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.94.tar.gz' \
     && echo '9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d *Net-SSLeay-1.94.tar.gz' | sha256sum --strict --check - \
diff --git a/perl_5.36-threaded-bullseye/Dockerfile b/perl_5.36-threaded-bullseye/Dockerfile
index a44face..ddde05c 100644
--- a/perl_5.36-threaded-bullseye/Dockerfile
+++ b/perl_5.36-threaded-bullseye/Dockerfile
@@ -21,6 +21,7 @@ RUN true \
     && 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 -pi -E 's{http://(www\.cpan\.org|backpan\.perl\.org|cpan\.metacpan\.org|fastapi\.metacpan\.org|cpanmetadb\.plackperl\.org)}{https://$1}g' bin/cpanm \
+    && perl -pi -E 's{try_lwp=>1}{try_lwp=>0}g' bin/cpanm \
     && perl bin/cpanm . && cd /root \
     && curl -fLO 'https://www.cpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.94.tar.gz' \
     && echo '9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d *Net-SSLeay-1.94.tar.gz' | sha256sum --strict --check - \
diff --git a/perl_5.38-bookworm/Dockerfile b/perl_5.38-bookworm/Dockerfile
index 0a63392..e6fa8f9 100644
--- a/perl_5.38-bookworm/Dockerfile
+++ b/perl_5.38-bookworm/Dockerfile
@@ -21,6 +21,7 @@ RUN true \
     && 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 -pi -E 's{http://(www\.cpan\.org|backpan\.perl\.org|cpan\.metacpan\.org|fastapi\.metacpan\.org|cpanmetadb\.plackperl\.org)}{https://$1}g' bin/cpanm \
+    && perl -pi -E 's{try_lwp=>1}{try_lwp=>0}g' bin/cpanm \
     && perl bin/cpanm . && cd /root \
     && curl -fLO 'https://www.cpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.94.tar.gz' \
     && echo '9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d *Net-SSLeay-1.94.tar.gz' | sha256sum --strict --check - \
diff --git a/perl_5.38-bullseye/Dockerfile b/perl_5.38-bullseye/Dockerfile
index 766472c..138c76a 100644
--- a/perl_5.38-bullseye/Dockerfile
+++ b/perl_5.38-bullseye/Dockerfile
@@ -21,6 +21,7 @@ RUN true \
     && 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 -pi -E 's{http://(www\.cpan\.org|backpan\.perl\.org|cpan\.metacpan\.org|fastapi\.metacpan\.org|cpanmetadb\.plackperl\.org)}{https://$1}g' bin/cpanm \
+    && perl -pi -E 's{try_lwp=>1}{try_lwp=>0}g' bin/cpanm \
     && perl bin/cpanm . && cd /root \
     && curl -fLO 'https://www.cpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.94.tar.gz' \
     && echo '9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d *Net-SSLeay-1.94.tar.gz' | sha256sum --strict --check - \
diff --git a/perl_5.38-slim-bookworm/Dockerfile b/perl_5.38-slim-bookworm/Dockerfile
index e269016..3c64a07 100644
--- a/perl_5.38-slim-bookworm/Dockerfile
+++ b/perl_5.38-slim-bookworm/Dockerfile
@@ -42,6 +42,7 @@ RUN apt-get update \
     && 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 -pi -E 's{http://(www\.cpan\.org|backpan\.perl\.org|cpan\.metacpan\.org|fastapi\.metacpan\.org|cpanmetadb\.plackperl\.org)}{https://$1}g' bin/cpanm \
+    && perl -pi -E 's{try_lwp=>1}{try_lwp=>0}g' bin/cpanm \
     && perl bin/cpanm . && cd /root \
     && curl -fLO 'https://www.cpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.94.tar.gz' \
     && echo '9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d *Net-SSLeay-1.94.tar.gz' | sha256sum --strict --check - \
@@ -53,7 +54,7 @@ RUN apt-get update \
     # sha256 checksum is from docker-perl team, cf https://github.com/docker-library/official-images/pull/12612#issuecomment-1158288299
     && echo 'e3931a7d994c96f9c74b97d1b5b75a554fc4f06eadef1eca26ecc0bdcd1f2d11 */usr/local/bin/cpm' | sha256sum --strict --check - \
     && chmod +x /usr/local/bin/cpm \
-    && savedPackages="ca-certificates make netbase zlib1g-dev libssl-dev" \
+    && savedPackages="ca-certificates curl make netbase zlib1g-dev libssl-dev" \
     && apt-mark auto '.*' > /dev/null \
     && apt-mark manual $savedPackages \
     && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
diff --git a/perl_5.38-slim-bullseye/Dockerfile b/perl_5.38-slim-bullseye/Dockerfile
index 1a33ef2..df6e998 100644
--- a/perl_5.38-slim-bullseye/Dockerfile
+++ b/perl_5.38-slim-bullseye/Dockerfile
@@ -42,6 +42,7 @@ RUN apt-get update \
     && 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 -pi -E 's{http://(www\.cpan\.org|backpan\.perl\.org|cpan\.metacpan\.org|fastapi\.metacpan\.org|cpanmetadb\.plackperl\.org)}{https://$1}g' bin/cpanm \
+    && perl -pi -E 's{try_lwp=>1}{try_lwp=>0}g' bin/cpanm \
     && perl bin/cpanm . && cd /root \
     && curl -fLO 'https://www.cpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.94.tar.gz' \
     && echo '9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d *Net-SSLeay-1.94.tar.gz' | sha256sum --strict --check - \
@@ -53,7 +54,7 @@ RUN apt-get update \
     # sha256 checksum is from docker-perl team, cf https://github.com/docker-library/official-images/pull/12612#issuecomment-1158288299
     && echo 'e3931a7d994c96f9c74b97d1b5b75a554fc4f06eadef1eca26ecc0bdcd1f2d11 */usr/local/bin/cpm' | sha256sum --strict --check - \
     && chmod +x /usr/local/bin/cpm \
-    && savedPackages="ca-certificates make netbase zlib1g-dev libssl-dev" \
+    && savedPackages="ca-certificates curl make netbase zlib1g-dev libssl-dev" \
     && apt-mark auto '.*' > /dev/null \
     && apt-mark manual $savedPackages \
     && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
diff --git a/perl_5.38-slim-threaded-bookworm/Dockerfile b/perl_5.38-slim-threaded-bookworm/Dockerfile
index b4a5787..77a0d47 100644
--- a/perl_5.38-slim-threaded-bookworm/Dockerfile
+++ b/perl_5.38-slim-threaded-bookworm/Dockerfile
@@ -42,6 +42,7 @@ RUN apt-get update \
     && 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 -pi -E 's{http://(www\.cpan\.org|backpan\.perl\.org|cpan\.metacpan\.org|fastapi\.metacpan\.org|cpanmetadb\.plackperl\.org)}{https://$1}g' bin/cpanm \
+    && perl -pi -E 's{try_lwp=>1}{try_lwp=>0}g' bin/cpanm \
     && perl bin/cpanm . && cd /root \
     && curl -fLO 'https://www.cpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.94.tar.gz' \
     && echo '9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d *Net-SSLeay-1.94.tar.gz' | sha256sum --strict --check - \
@@ -53,7 +54,7 @@ RUN apt-get update \
     # sha256 checksum is from docker-perl team, cf https://github.com/docker-library/official-images/pull/12612#issuecomment-1158288299
     && echo 'e3931a7d994c96f9c74b97d1b5b75a554fc4f06eadef1eca26ecc0bdcd1f2d11 */usr/local/bin/cpm' | sha256sum --strict --check - \
     && chmod +x /usr/local/bin/cpm \
-    && savedPackages="ca-certificates make netbase zlib1g-dev libssl-dev" \
+    && savedPackages="ca-certificates curl make netbase zlib1g-dev libssl-dev" \
     && apt-mark auto '.*' > /dev/null \
     && apt-mark manual $savedPackages \
     && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
diff --git a/perl_5.38-slim-threaded-bullseye/Dockerfile b/perl_5.38-slim-threaded-bullseye/Dockerfile
index 9b7463a..37f48ac 100644
--- a/perl_5.38-slim-threaded-bullseye/Dockerfile
+++ b/perl_5.38-slim-threaded-bullseye/Dockerfile
@@ -42,6 +42,7 @@ RUN apt-get update \
     && 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 -pi -E 's{http://(www\.cpan\.org|backpan\.perl\.org|cpan\.metacpan\.org|fastapi\.metacpan\.org|cpanmetadb\.plackperl\.org)}{https://$1}g' bin/cpanm \
+    && perl -pi -E 's{try_lwp=>1}{try_lwp=>0}g' bin/cpanm \
     && perl bin/cpanm . && cd /root \
     && curl -fLO 'https://www.cpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.94.tar.gz' \
     && echo '9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d *Net-SSLeay-1.94.tar.gz' | sha256sum --strict --check - \
@@ -53,7 +54,7 @@ RUN apt-get update \
     # sha256 checksum is from docker-perl team, cf https://github.com/docker-library/official-images/pull/12612#issuecomment-1158288299
     && echo 'e3931a7d994c96f9c74b97d1b5b75a554fc4f06eadef1eca26ecc0bdcd1f2d11 */usr/local/bin/cpm' | sha256sum --strict --check - \
     && chmod +x /usr/local/bin/cpm \
-    && savedPackages="ca-certificates make netbase zlib1g-dev libssl-dev" \
+    && savedPackages="ca-certificates curl make netbase zlib1g-dev libssl-dev" \
     && apt-mark auto '.*' > /dev/null \
     && apt-mark manual $savedPackages \
     && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
diff --git a/perl_5.38-threaded-bookworm/Dockerfile b/perl_5.38-threaded-bookworm/Dockerfile
index 42e75e5..e7cf566 100644
--- a/perl_5.38-threaded-bookworm/Dockerfile
+++ b/perl_5.38-threaded-bookworm/Dockerfile
@@ -21,6 +21,7 @@ RUN true \
     && 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 -pi -E 's{http://(www\.cpan\.org|backpan\.perl\.org|cpan\.metacpan\.org|fastapi\.metacpan\.org|cpanmetadb\.plackperl\.org)}{https://$1}g' bin/cpanm \
+    && perl -pi -E 's{try_lwp=>1}{try_lwp=>0}g' bin/cpanm \
     && perl bin/cpanm . && cd /root \
     && curl -fLO 'https://www.cpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.94.tar.gz' \
     && echo '9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d *Net-SSLeay-1.94.tar.gz' | sha256sum --strict --check - \
diff --git a/perl_5.38-threaded-bullseye/Dockerfile b/perl_5.38-threaded-bullseye/Dockerfile
index 99f666f..b239b96 100644
--- a/perl_5.38-threaded-bullseye/Dockerfile
+++ b/perl_5.38-threaded-bullseye/Dockerfile
@@ -21,6 +21,7 @@ RUN true \
     && 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 -pi -E 's{http://(www\.cpan\.org|backpan\.perl\.org|cpan\.metacpan\.org|fastapi\.metacpan\.org|cpanmetadb\.plackperl\.org)}{https://$1}g' bin/cpanm \
+    && perl -pi -E 's{try_lwp=>1}{try_lwp=>0}g' bin/cpanm \
     && perl bin/cpanm . && cd /root \
     && curl -fLO 'https://www.cpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.94.tar.gz' \
     && echo '9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d *Net-SSLeay-1.94.tar.gz' | sha256sum --strict --check - \
diff --git a/perl_devel-bookworm/Dockerfile b/perl_devel-bookworm/Dockerfile
index cdf976a..54e73da 100644
--- a/perl_devel-bookworm/Dockerfile
+++ b/perl_devel-bookworm/Dockerfile
@@ -21,6 +21,7 @@ RUN true \
     && 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 -pi -E 's{http://(www\.cpan\.org|backpan\.perl\.org|cpan\.metacpan\.org|fastapi\.metacpan\.org|cpanmetadb\.plackperl\.org)}{https://$1}g' bin/cpanm \
+    && perl -pi -E 's{try_lwp=>1}{try_lwp=>0}g' bin/cpanm \
     && perl bin/cpanm . && cd /root \
     && curl -fLO 'https://www.cpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.94.tar.gz' \
     && echo '9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d *Net-SSLeay-1.94.tar.gz' | sha256sum --strict --check - \
diff --git a/perl_devel-bullseye/Dockerfile b/perl_devel-bullseye/Dockerfile
index f30bd07..6451fb4 100644
--- a/perl_devel-bullseye/Dockerfile
+++ b/perl_devel-bullseye/Dockerfile
@@ -21,6 +21,7 @@ RUN true \
     && 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 -pi -E 's{http://(www\.cpan\.org|backpan\.perl\.org|cpan\.metacpan\.org|fastapi\.metacpan\.org|cpanmetadb\.plackperl\.org)}{https://$1}g' bin/cpanm \
+    && perl -pi -E 's{try_lwp=>1}{try_lwp=>0}g' bin/cpanm \
     && perl bin/cpanm . && cd /root \
     && curl -fLO 'https://www.cpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.94.tar.gz' \
     && echo '9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d *Net-SSLeay-1.94.tar.gz' | sha256sum --strict --check - \
diff --git a/perl_devel-slim-bookworm/Dockerfile b/perl_devel-slim-bookworm/Dockerfile
index aac4e1b..0ac4eb4 100644
--- a/perl_devel-slim-bookworm/Dockerfile
+++ b/perl_devel-slim-bookworm/Dockerfile
@@ -42,6 +42,7 @@ RUN apt-get update \
     && 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 -pi -E 's{http://(www\.cpan\.org|backpan\.perl\.org|cpan\.metacpan\.org|fastapi\.metacpan\.org|cpanmetadb\.plackperl\.org)}{https://$1}g' bin/cpanm \
+    && perl -pi -E 's{try_lwp=>1}{try_lwp=>0}g' bin/cpanm \
     && perl bin/cpanm . && cd /root \
     && curl -fLO 'https://www.cpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.94.tar.gz' \
     && echo '9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d *Net-SSLeay-1.94.tar.gz' | sha256sum --strict --check - \
@@ -53,7 +54,7 @@ RUN apt-get update \
     # sha256 checksum is from docker-perl team, cf https://github.com/docker-library/official-images/pull/12612#issuecomment-1158288299
     && echo 'e3931a7d994c96f9c74b97d1b5b75a554fc4f06eadef1eca26ecc0bdcd1f2d11 */usr/local/bin/cpm' | sha256sum --strict --check - \
     && chmod +x /usr/local/bin/cpm \
-    && savedPackages="ca-certificates make netbase zlib1g-dev libssl-dev" \
+    && savedPackages="ca-certificates curl make netbase zlib1g-dev libssl-dev" \
     && apt-mark auto '.*' > /dev/null \
     && apt-mark manual $savedPackages \
     && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
diff --git a/perl_devel-slim-bullseye/Dockerfile b/perl_devel-slim-bullseye/Dockerfile
index 7d6f5ca..bc31795 100644
--- a/perl_devel-slim-bullseye/Dockerfile
+++ b/perl_devel-slim-bullseye/Dockerfile
@@ -42,6 +42,7 @@ RUN apt-get update \
     && 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 -pi -E 's{http://(www\.cpan\.org|backpan\.perl\.org|cpan\.metacpan\.org|fastapi\.metacpan\.org|cpanmetadb\.plackperl\.org)}{https://$1}g' bin/cpanm \
+    && perl -pi -E 's{try_lwp=>1}{try_lwp=>0}g' bin/cpanm \
     && perl bin/cpanm . && cd /root \
     && curl -fLO 'https://www.cpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.94.tar.gz' \
     && echo '9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d *Net-SSLeay-1.94.tar.gz' | sha256sum --strict --check - \
@@ -53,7 +54,7 @@ RUN apt-get update \
     # sha256 checksum is from docker-perl team, cf https://github.com/docker-library/official-images/pull/12612#issuecomment-1158288299
     && echo 'e3931a7d994c96f9c74b97d1b5b75a554fc4f06eadef1eca26ecc0bdcd1f2d11 */usr/local/bin/cpm' | sha256sum --strict --check - \
     && chmod +x /usr/local/bin/cpm \
-    && savedPackages="ca-certificates make netbase zlib1g-dev libssl-dev" \
+    && savedPackages="ca-certificates curl make netbase zlib1g-dev libssl-dev" \
     && apt-mark auto '.*' > /dev/null \
     && apt-mark manual $savedPackages \
     && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
diff --git a/perl_devel-slim-threaded-bookworm/Dockerfile b/perl_devel-slim-threaded-bookworm/Dockerfile
index 233abac..07256b5 100644
--- a/perl_devel-slim-threaded-bookworm/Dockerfile
+++ b/perl_devel-slim-threaded-bookworm/Dockerfile
@@ -42,6 +42,7 @@ RUN apt-get update \
     && 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 -pi -E 's{http://(www\.cpan\.org|backpan\.perl\.org|cpan\.metacpan\.org|fastapi\.metacpan\.org|cpanmetadb\.plackperl\.org)}{https://$1}g' bin/cpanm \
+    && perl -pi -E 's{try_lwp=>1}{try_lwp=>0}g' bin/cpanm \
     && perl bin/cpanm . && cd /root \
     && curl -fLO 'https://www.cpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.94.tar.gz' \
     && echo '9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d *Net-SSLeay-1.94.tar.gz' | sha256sum --strict --check - \
@@ -53,7 +54,7 @@ RUN apt-get update \
     # sha256 checksum is from docker-perl team, cf https://github.com/docker-library/official-images/pull/12612#issuecomment-1158288299
     && echo 'e3931a7d994c96f9c74b97d1b5b75a554fc4f06eadef1eca26ecc0bdcd1f2d11 */usr/local/bin/cpm' | sha256sum --strict --check - \
     && chmod +x /usr/local/bin/cpm \
-    && savedPackages="ca-certificates make netbase zlib1g-dev libssl-dev" \
+    && savedPackages="ca-certificates curl make netbase zlib1g-dev libssl-dev" \
     && apt-mark auto '.*' > /dev/null \
     && apt-mark manual $savedPackages \
     && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
diff --git a/perl_devel-slim-threaded-bullseye/Dockerfile b/perl_devel-slim-threaded-bullseye/Dockerfile
index 26baed2..622024e 100644
--- a/perl_devel-slim-threaded-bullseye/Dockerfile
+++ b/perl_devel-slim-threaded-bullseye/Dockerfile
@@ -42,6 +42,7 @@ RUN apt-get update \
     && 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 -pi -E 's{http://(www\.cpan\.org|backpan\.perl\.org|cpan\.metacpan\.org|fastapi\.metacpan\.org|cpanmetadb\.plackperl\.org)}{https://$1}g' bin/cpanm \
+    && perl -pi -E 's{try_lwp=>1}{try_lwp=>0}g' bin/cpanm \
     && perl bin/cpanm . && cd /root \
     && curl -fLO 'https://www.cpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.94.tar.gz' \
     && echo '9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d *Net-SSLeay-1.94.tar.gz' | sha256sum --strict --check - \
@@ -53,7 +54,7 @@ RUN apt-get update \
     # sha256 checksum is from docker-perl team, cf https://github.com/docker-library/official-images/pull/12612#issuecomment-1158288299
     && echo 'e3931a7d994c96f9c74b97d1b5b75a554fc4f06eadef1eca26ecc0bdcd1f2d11 */usr/local/bin/cpm' | sha256sum --strict --check - \
     && chmod +x /usr/local/bin/cpm \
-    && savedPackages="ca-certificates make netbase zlib1g-dev libssl-dev" \
+    && savedPackages="ca-certificates curl make netbase zlib1g-dev libssl-dev" \
     && apt-mark auto '.*' > /dev/null \
     && apt-mark manual $savedPackages \
     && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
diff --git a/perl_devel-threaded-bookworm/Dockerfile b/perl_devel-threaded-bookworm/Dockerfile
index aee199f..8e95f8f 100644
--- a/perl_devel-threaded-bookworm/Dockerfile
+++ b/perl_devel-threaded-bookworm/Dockerfile
@@ -21,6 +21,7 @@ RUN true \
     && 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 -pi -E 's{http://(www\.cpan\.org|backpan\.perl\.org|cpan\.metacpan\.org|fastapi\.metacpan\.org|cpanmetadb\.plackperl\.org)}{https://$1}g' bin/cpanm \
+    && perl -pi -E 's{try_lwp=>1}{try_lwp=>0}g' bin/cpanm \
     && perl bin/cpanm . && cd /root \
     && curl -fLO 'https://www.cpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.94.tar.gz' \
     && echo '9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d *Net-SSLeay-1.94.tar.gz' | sha256sum --strict --check - \
diff --git a/perl_devel-threaded-bullseye/Dockerfile b/perl_devel-threaded-bullseye/Dockerfile
index 8f040c0..a48632d 100644
--- a/perl_devel-threaded-bullseye/Dockerfile
+++ b/perl_devel-threaded-bullseye/Dockerfile
@@ -21,6 +21,7 @@ RUN true \
     && 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 -pi -E 's{http://(www\.cpan\.org|backpan\.perl\.org|cpan\.metacpan\.org|fastapi\.metacpan\.org|cpanmetadb\.plackperl\.org)}{https://$1}g' bin/cpanm \
+    && perl -pi -E 's{try_lwp=>1}{try_lwp=>0}g' bin/cpanm \
     && perl bin/cpanm . && cd /root \
     && curl -fLO 'https://www.cpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.94.tar.gz' \
     && echo '9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d *Net-SSLeay-1.94.tar.gz' | sha256sum --strict --check - \
diff --git a/perl_stable-bookworm/Dockerfile b/perl_stable-bookworm/Dockerfile
index 9468f72..98574f0 100644
--- a/perl_stable-bookworm/Dockerfile
+++ b/perl_stable-bookworm/Dockerfile
@@ -21,6 +21,7 @@ RUN true \
     && 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 -pi -E 's{http://(www\.cpan\.org|backpan\.perl\.org|cpan\.metacpan\.org|fastapi\.metacpan\.org|cpanmetadb\.plackperl\.org)}{https://$1}g' bin/cpanm \
+    && perl -pi -E 's{try_lwp=>1}{try_lwp=>0}g' bin/cpanm \
     && perl bin/cpanm . && cd /root \
     && curl -fLO 'https://www.cpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.94.tar.gz' \
     && echo '9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d *Net-SSLeay-1.94.tar.gz' | sha256sum --strict --check - \
diff --git a/perl_stable-bullseye/Dockerfile b/perl_stable-bullseye/Dockerfile
index 0e6a17c..3d08885 100644
--- a/perl_stable-bullseye/Dockerfile
+++ b/perl_stable-bullseye/Dockerfile
@@ -21,6 +21,7 @@ RUN true \
     && 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 -pi -E 's{http://(www\.cpan\.org|backpan\.perl\.org|cpan\.metacpan\.org|fastapi\.metacpan\.org|cpanmetadb\.plackperl\.org)}{https://$1}g' bin/cpanm \
+    && perl -pi -E 's{try_lwp=>1}{try_lwp=>0}g' bin/cpanm \
     && perl bin/cpanm . && cd /root \
     && curl -fLO 'https://www.cpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.94.tar.gz' \
     && echo '9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d *Net-SSLeay-1.94.tar.gz' | sha256sum --strict --check - \
diff --git a/perl_stable-slim-bookworm/Dockerfile b/perl_stable-slim-bookworm/Dockerfile
index 221afe6..767060c 100644
--- a/perl_stable-slim-bookworm/Dockerfile
+++ b/perl_stable-slim-bookworm/Dockerfile
@@ -42,6 +42,7 @@ RUN apt-get update \
     && 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 -pi -E 's{http://(www\.cpan\.org|backpan\.perl\.org|cpan\.metacpan\.org|fastapi\.metacpan\.org|cpanmetadb\.plackperl\.org)}{https://$1}g' bin/cpanm \
+    && perl -pi -E 's{try_lwp=>1}{try_lwp=>0}g' bin/cpanm \
     && perl bin/cpanm . && cd /root \
     && curl -fLO 'https://www.cpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.94.tar.gz' \
     && echo '9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d *Net-SSLeay-1.94.tar.gz' | sha256sum --strict --check - \
@@ -53,7 +54,7 @@ RUN apt-get update \
     # sha256 checksum is from docker-perl team, cf https://github.com/docker-library/official-images/pull/12612#issuecomment-1158288299
     && echo 'e3931a7d994c96f9c74b97d1b5b75a554fc4f06eadef1eca26ecc0bdcd1f2d11 */usr/local/bin/cpm' | sha256sum --strict --check - \
     && chmod +x /usr/local/bin/cpm \
-    && savedPackages="ca-certificates make netbase zlib1g-dev libssl-dev" \
+    && savedPackages="ca-certificates curl make netbase zlib1g-dev libssl-dev" \
     && apt-mark auto '.*' > /dev/null \
     && apt-mark manual $savedPackages \
     && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
diff --git a/perl_stable-slim-bullseye/Dockerfile b/perl_stable-slim-bullseye/Dockerfile
index b3a207b..00ef70d 100644
--- a/perl_stable-slim-bullseye/Dockerfile
+++ b/perl_stable-slim-bullseye/Dockerfile
@@ -42,6 +42,7 @@ RUN apt-get update \
     && 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 -pi -E 's{http://(www\.cpan\.org|backpan\.perl\.org|cpan\.metacpan\.org|fastapi\.metacpan\.org|cpanmetadb\.plackperl\.org)}{https://$1}g' bin/cpanm \
+    && perl -pi -E 's{try_lwp=>1}{try_lwp=>0}g' bin/cpanm \
     && perl bin/cpanm . && cd /root \
     && curl -fLO 'https://www.cpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.94.tar.gz' \
     && echo '9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d *Net-SSLeay-1.94.tar.gz' | sha256sum --strict --check - \
@@ -53,7 +54,7 @@ RUN apt-get update \
     # sha256 checksum is from docker-perl team, cf https://github.com/docker-library/official-images/pull/12612#issuecomment-1158288299
     && echo 'e3931a7d994c96f9c74b97d1b5b75a554fc4f06eadef1eca26ecc0bdcd1f2d11 */usr/local/bin/cpm' | sha256sum --strict --check - \
     && chmod +x /usr/local/bin/cpm \
-    && savedPackages="ca-certificates make netbase zlib1g-dev libssl-dev" \
+    && savedPackages="ca-certificates curl make netbase zlib1g-dev libssl-dev" \
     && apt-mark auto '.*' > /dev/null \
     && apt-mark manual $savedPackages \
     && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
diff --git a/perl_stable-slim-threaded-bookworm/Dockerfile b/perl_stable-slim-threaded-bookworm/Dockerfile
index 010a816..52e4e08 100644
--- a/perl_stable-slim-threaded-bookworm/Dockerfile
+++ b/perl_stable-slim-threaded-bookworm/Dockerfile
@@ -42,6 +42,7 @@ RUN apt-get update \
     && 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 -pi -E 's{http://(www\.cpan\.org|backpan\.perl\.org|cpan\.metacpan\.org|fastapi\.metacpan\.org|cpanmetadb\.plackperl\.org)}{https://$1}g' bin/cpanm \
+    && perl -pi -E 's{try_lwp=>1}{try_lwp=>0}g' bin/cpanm \
     && perl bin/cpanm . && cd /root \
     && curl -fLO 'https://www.cpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.94.tar.gz' \
     && echo '9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d *Net-SSLeay-1.94.tar.gz' | sha256sum --strict --check - \
@@ -53,7 +54,7 @@ RUN apt-get update \
     # sha256 checksum is from docker-perl team, cf https://github.com/docker-library/official-images/pull/12612#issuecomment-1158288299
     && echo 'e3931a7d994c96f9c74b97d1b5b75a554fc4f06eadef1eca26ecc0bdcd1f2d11 */usr/local/bin/cpm' | sha256sum --strict --check - \
     && chmod +x /usr/local/bin/cpm \
-    && savedPackages="ca-certificates make netbase zlib1g-dev libssl-dev" \
+    && savedPackages="ca-certificates curl make netbase zlib1g-dev libssl-dev" \
     && apt-mark auto '.*' > /dev/null \
     && apt-mark manual $savedPackages \
     && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
diff --git a/perl_stable-slim-threaded-bullseye/Dockerfile b/perl_stable-slim-threaded-bullseye/Dockerfile
index 24955a7..9dc1fbc 100644
--- a/perl_stable-slim-threaded-bullseye/Dockerfile
+++ b/perl_stable-slim-threaded-bullseye/Dockerfile
@@ -42,6 +42,7 @@ RUN apt-get update \
     && 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 -pi -E 's{http://(www\.cpan\.org|backpan\.perl\.org|cpan\.metacpan\.org|fastapi\.metacpan\.org|cpanmetadb\.plackperl\.org)}{https://$1}g' bin/cpanm \
+    && perl -pi -E 's{try_lwp=>1}{try_lwp=>0}g' bin/cpanm \
     && perl bin/cpanm . && cd /root \
     && curl -fLO 'https://www.cpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.94.tar.gz' \
     && echo '9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d *Net-SSLeay-1.94.tar.gz' | sha256sum --strict --check - \
@@ -53,7 +54,7 @@ RUN apt-get update \
     # sha256 checksum is from docker-perl team, cf https://github.com/docker-library/official-images/pull/12612#issuecomment-1158288299
     && echo 'e3931a7d994c96f9c74b97d1b5b75a554fc4f06eadef1eca26ecc0bdcd1f2d11 */usr/local/bin/cpm' | sha256sum --strict --check - \
     && chmod +x /usr/local/bin/cpm \
-    && savedPackages="ca-certificates make netbase zlib1g-dev libssl-dev" \
+    && savedPackages="ca-certificates curl make netbase zlib1g-dev libssl-dev" \
     && apt-mark auto '.*' > /dev/null \
     && apt-mark manual $savedPackages \
     && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
diff --git a/perl_stable-threaded-bookworm/Dockerfile b/perl_stable-threaded-bookworm/Dockerfile
index 9c6d18d..5ad48a1 100644
--- a/perl_stable-threaded-bookworm/Dockerfile
+++ b/perl_stable-threaded-bookworm/Dockerfile
@@ -21,6 +21,7 @@ RUN true \
     && 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 -pi -E 's{http://(www\.cpan\.org|backpan\.perl\.org|cpan\.metacpan\.org|fastapi\.metacpan\.org|cpanmetadb\.plackperl\.org)}{https://$1}g' bin/cpanm \
+    && perl -pi -E 's{try_lwp=>1}{try_lwp=>0}g' bin/cpanm \
     && perl bin/cpanm . && cd /root \
     && curl -fLO 'https://www.cpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.94.tar.gz' \
     && echo '9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d *Net-SSLeay-1.94.tar.gz' | sha256sum --strict --check - \
diff --git a/perl_stable-threaded-bullseye/Dockerfile b/perl_stable-threaded-bullseye/Dockerfile
index 1c4e11a..3445043 100644
--- a/perl_stable-threaded-bullseye/Dockerfile
+++ b/perl_stable-threaded-bullseye/Dockerfile
@@ -21,6 +21,7 @@ RUN true \
     && 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 -pi -E 's{http://(www\.cpan\.org|backpan\.perl\.org|cpan\.metacpan\.org|fastapi\.metacpan\.org|cpanmetadb\.plackperl\.org)}{https://$1}g' bin/cpanm \
+    && perl -pi -E 's{try_lwp=>1}{try_lwp=>0}g' bin/cpanm \
     && perl bin/cpanm . && cd /root \
     && curl -fLO 'https://www.cpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.94.tar.gz' \
     && echo '9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d *Net-SSLeay-1.94.tar.gz' | sha256sum --strict --check - \

Relevant Maintainers:

@tianon tianon merged commit bcd9ae5 into docker-library:master Sep 9, 2024
37 checks passed
@zakame zakame deleted the perl/cpanm-no-lwp branch September 9, 2024 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GitLab CI pipeline broken (due to HTTPS by default?)
2 participants