Skip to content

Commit b3ab4cd

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

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

containers/Containerfile

Lines changed: 15 additions & 2 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 dnf -y upgrade && \
10-
dnf -y install ansible python3-pip && \
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+
22+
RUN dnf --setopt=sslverify=false -y upgrade && \
23+
dnf --setopt=sslverify=false -y install ansible python3-pip && \
1124
dnf clean all

0 commit comments

Comments
 (0)