File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed
Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,19 @@ FROM registry.fedoraproject.org/fedora:41
66ENV 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
You can’t perform that action at this time.
0 commit comments