We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 888dad9 + 6830bda commit 1092decCopy full SHA for 1092dec
runtimes/minimal/ubi9-python-3.11/Dockerfile.cpu
@@ -9,7 +9,14 @@ WORKDIR /opt/app-root/bin
9
USER 0
10
11
# Install useful OS packages
12
-RUN dnf install -y mesa-libGL skopeo && dnf clean all && rm -rf /var/cache/yum
+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
20
21
# Other apps and tools installed as default user
22
USER 1001
0 commit comments