Skip to content

Commit 37b7c98

Browse files
Fixing issues
Signed-off-by: AaruniAggarwal <[email protected]>
1 parent db06d4a commit 37b7c98

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

runtimes/datascience/ubi9-python-3.12/Dockerfile.cpu

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ RUN dnf -y upgrade --refresh --best --nodocs --noplugins --setopt=install_weak_d
1919
RUN --mount=type=cache,target=/var/cache/dnf \
2020
echo "Building for architecture: ${TARGETARCH}" && \
2121
if [ "$TARGETARCH" = "ppc64le" ]; then \
22-
PACKAGES="mesa-libGL skopeo libxcrypt-compat gcc-toolset-13 make wget unzip rust cargo unixODBC-devel cmake ninja-build"; \
22+
PACKAGES="mesa-libGL skopeo libxcrypt-compat git gcc-toolset-13 make wget unzip rust cargo unixODBC-devel cmake ninja-build"; \
2323
else \
2424
PACKAGES="mesa-libGL skopeo libxcrypt-compat"; \
2525
fi && \
2626
echo "Installing: $PACKAGES" && \
2727
dnf install -y --nogpgcheck --allowerasing --nobest $PACKAGES && \
28-
dnf clean all && rm -rf /var/cache/yum
28+
dnf clean all && rm -rf /var/cache/dnf
2929

3030
RUN if [ "$TARGETARCH" = "ppc64le" ]; then \
3131
echo 'export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/' >> /etc/profile.d/ppc64le.sh && \
@@ -125,7 +125,6 @@ USER 0
125125

126126
# Install ppc64le-built wheels if available
127127
COPY --from=openblas-builder /root/OpenBLAS-* /openblas
128-
COPY --from=onnx-builder /tmp/control /dev/null
129128
COPY --from=onnx-builder /onnx_wheels /tmp/onnx_wheels
130129

131130
RUN if [ "$TARGETARCH" = "ppc64le" ]; then \

0 commit comments

Comments
 (0)