Skip to content

Commit 1092dec

Browse files
committed
Merge remote-tracking branch 'upstream/main'
2 parents 888dad9 + 6830bda commit 1092dec

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

runtimes/minimal/ubi9-python-3.11/Dockerfile.cpu

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,14 @@ WORKDIR /opt/app-root/bin
99
USER 0
1010

1111
# Install useful OS packages
12-
RUN dnf install -y mesa-libGL skopeo && dnf clean all && rm -rf /var/cache/yum
12+
RUN ARCH=$(uname -m) && \
13+
echo "Detected architecture: $ARCH" && \
14+
if [ "$ARCH" = "s390x" ]; then \
15+
dnf install -y mesa-libGL skopeo gcc g++ make openssl-devel autoconf automake libtool cmake; \
16+
else \
17+
dnf install -y mesa-libGL skopeo; \
18+
fi && \
19+
dnf clean all && rm -rf /var/cache/yum
1320

1421
# Other apps and tools installed as default user
1522
USER 1001

0 commit comments

Comments
 (0)