From 99df668fff9e7d7c16d59a12252cd43f013daa59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9mence=20Lesn=C3=A9?= Date: Wed, 30 Oct 2024 14:32:32 +0100 Subject: [PATCH] fix: Missing dependencies for Python build on RHEL --- src/docker/Dockerfile-ubi8 | 3 +++ src/docker/Dockerfile-ubi9 | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/docker/Dockerfile-ubi8 b/src/docker/Dockerfile-ubi8 index 652fbbcf..aef03c9d 100644 --- a/src/docker/Dockerfile-ubi8 +++ b/src/docker/Dockerfile-ubi8 @@ -96,12 +96,15 @@ RUN --mount=target=/var/cache/yum,type=cache,id=yum-${TARGETPLATFORM},sharing=lo libffi-devel \ libstdc++-devel \ libuuid-devel \ + libxml2-devel \ mpdecimal \ + ncurses-devel \ redhat-rpm-config \ sqlite \ sqlite-devel \ sqlite-libs \ xz-devel \ + xz-libs \ zlib-devel \ && curl -LsSf --retry 8 https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tgz -o python.tgz \ && tar -xzf python.tgz \ diff --git a/src/docker/Dockerfile-ubi9 b/src/docker/Dockerfile-ubi9 index 793d7af2..58a91b56 100644 --- a/src/docker/Dockerfile-ubi9 +++ b/src/docker/Dockerfile-ubi9 @@ -95,12 +95,15 @@ RUN --mount=target=/var/cache/yum,type=cache,id=yum-${TARGETPLATFORM},sharing=lo libffi-devel \ libstdc++-devel \ libuuid-devel \ + libxml2-devel \ mpdecimal \ + ncurses-devel \ redhat-rpm-config \ sqlite \ sqlite-devel \ sqlite-libs \ xz-devel \ + xz-libs \ zlib-devel \ && curl -LsSf --retry 8 --retry-all-errors https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tgz -o python.tgz \ && tar -xzf python.tgz \