Skip to content

Commit

Permalink
Try to fix the ppc64le container build issues
Browse files Browse the repository at this point in the history
Signed-off-by: Nikola Forró <[email protected]>
  • Loading branch information
nforro committed Dec 10, 2024
1 parent 02de7ee commit b3ab4cd
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions containers/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,19 @@ FROM registry.fedoraproject.org/fedora:41
ENV ANSIBLE_PYTHON_INTERPRETER=/usr/bin/python3 \
ANSIBLE_STDOUT_CALLBACK=debug

RUN dnf -y upgrade && \
dnf -y install ansible python3-pip && \
RUN sed -i \
'/\[ evp_properties \]/a rh-allow-sha1-signatures = yes' \
/etc/ssl/openssl.cnf

RUN sed -i \
-e 's/@SECLEVEL=2/@SECLEVEL=0/' \
-e 's/rh-allow-sha1-signatures = no/rh-allow-sha1-signatures = yes/' \
/usr/share/crypto-policies/DEFAULT/opensslcnf.txt

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

RUN openssl s_client -servername mirrors.fedoraproject.org -connect mirrors.fedoraproject.org:443 < /dev/null

RUN dnf --setopt=sslverify=false -y upgrade && \
dnf --setopt=sslverify=false -y install ansible python3-pip && \
dnf clean all

0 comments on commit b3ab4cd

Please sign in to comment.