Skip to content

Commit b07dc83

Browse files
committed
commit cpan crimes on manylinux2014
1 parent 6b8fded commit b07dc83

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

cryptography-linux/Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,15 @@ RUN \
2727
fi
2828

2929
COPY --from=staticnodejs /out/ /staticnode/
30+
# As of OpenSSL 3.3.2 the perl List::Util module is too old in manylinux2014, so we
31+
# commit CPAN crimes
32+
RUN if [ -f /etc/redhat-release ] && grep -q "CentOS Linux release 7" /etc/redhat-release; then \
33+
yum install -y perl-CPAN && \
34+
yum -y clean all && \
35+
rm -rf /var/cache/yum && \
36+
echo | cpan && \
37+
cpan List::Util; \
38+
fi
3039
ADD install_openssl.sh /root/install_openssl.sh
3140
ADD openssl-version.sh /root/openssl-version.sh
3241
RUN ./install_openssl.sh

0 commit comments

Comments
 (0)