Skip to content

Commit cce38d8

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

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

containers/Containerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ 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 && \
11-
dnf clean all
9+
RUN DNF=dnf; [ "$(uname -m)" = "ppc64le" ] && DNF="dnf --setopt=sslverify=false"; \
10+
$DNF -y upgrade && \
11+
$DNF -y install ansible python3-pip && \
12+
$DNF clean all

0 commit comments

Comments
 (0)