Skip to content

Commit

Permalink
commit cpan crimes on manylinux2014
Browse files Browse the repository at this point in the history
  • Loading branch information
reaperhulk committed Sep 3, 2024
1 parent 6b8fded commit b07dc83
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cryptography-linux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@ RUN \
fi

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

0 comments on commit b07dc83

Please sign in to comment.