Skip to content

Commit b06e2bd

Browse files
committed
Try to fix the ppc64le container build issues
Signed-off-by: Nikola Forró <[email protected]>
1 parent 02de7ee commit b06e2bd

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

containers/Containerfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,19 @@ FROM registry.fedoraproject.org/fedora:41
66
ENV ANSIBLE_PYTHON_INTERPRETER=/usr/bin/python3 \
77
ANSIBLE_STDOUT_CALLBACK=debug
88

9+
RUN sed -i \
10+
'/\[ evp_properties \]/a rh-allow-sha1-signatures = yes' \
11+
/etc/ssl/openssl.cnf
12+
13+
RUN sed -i \
14+
-e 's/@SECLEVEL=2/@SECLEVEL=0/' \
15+
-e 's/rh-allow-sha1-signatures = no/rh-allow-sha1-signatures = yes/' \
16+
/usr/share/crypto-policies/DEFAULT/opensslcnf.txt
17+
18+
RUN curl -k -O https://kojipkgs.fedoraproject.org//packages/openssl/3.2.2/9.fc41/ppc64le/openssl-3.2.2-9.fc41.ppc64le.rpm && rpm -iv openssl-3.2.2-9.fc41.ppc64le.rpm
19+
20+
RUN openssl s_client -servername mirrors.fedoraproject.org -connect mirrors.fedoraproject.org:443 < /dev/null
21+
922
RUN dnf -y upgrade && \
1023
dnf -y install ansible python3-pip && \
1124
dnf clean all

0 commit comments

Comments
 (0)