Skip to content

Commit a734379

Browse files
committed
RHAIENG-2189: build(datascience): add missing -devel libraries for s390x (already added for ppc64le before)
``` The headers or library files could not be found for zlib, a required dependency when compiling Pillow from source. Please see the install instructions at: https://pillow.readthedocs.io/en/latest/installation/basic-installation.html ```
1 parent df95c7f commit a734379

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ EOF
378378

379379
RUN --mount=type=cache,target=/var/cache/dnf,sharing=locked,id=notebooks-dnf /bin/bash <<'EOF'
380380
set -Eeuxo pipefail
381-
if [ "${TARGETARCH}" = "ppc64le" ]; then
381+
if [ "${TARGETARCH}" = "ppc64le" ] || [ "$TARGETARCH" = "s390x" ]; then
382382
packages=(
383383
# required to compile pillow
384384
zlib-devel libjpeg-turbo-devel

jupyter/datascience/ubi9-python-3.12/Dockerfile.konflux.cpu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ EOF
382382

383383
RUN /bin/bash <<'EOF'
384384
set -Eeuxo pipefail
385-
if [ "${TARGETARCH}" = "ppc64le" ]; then
385+
if [ "${TARGETARCH}" = "ppc64le" ] || [ "$TARGETARCH" = "s390x" ]; then
386386
packages=(
387387
# required to compile pillow
388388
zlib-devel libjpeg-turbo-devel

0 commit comments

Comments
 (0)