From a3c68d88b50f5a5c91a2a5e24ca6dc6857ad7e63 Mon Sep 17 00:00:00 2001 From: Seda Gundogdu Date: Wed, 7 Aug 2024 14:18:14 +0300 Subject: [PATCH] Update Dockerfile to fix python38-devel error for ol/9 --- test-images/ol-9/Dockerfile | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/test-images/ol-9/Dockerfile b/test-images/ol-9/Dockerfile index 02f810c7..d79fdcc5 100644 --- a/test-images/ol-9/Dockerfile +++ b/test-images/ol-9/Dockerfile @@ -37,20 +37,19 @@ RUN cd ~ && initdb -D citus && echo "shared_preload_libraries = 'citus'" >> citu USER root # Install python 3.8 and its dependencies RUN yum install -y gcc make && \ - yum -y install libcurl-devel \ + yum -y install libcurl-devel \ openssl-devel \ bzip2-devel \ libffi-devel \ xz-devel \ - python38-devel \ libzstd-devel \ - openssl-devel &&\ - curl https://www.python.org/ftp/python/3.8.12/Python-3.8.12.tgz --output Python-3.8.12.tgz &&\ - tar xvf Python-3.8.12.tgz &&\ - cd Python-3.8.*/ && \ - ./configure --enable-optimizations && \ - make altinstall && \ - python3.8 -m pip install pip-tools + zlib-devel &&\ + curl https://www.python.org/ftp/python/3.8.12/Python-3.8.12.tgz --output Python-3.8.12.tgz &&\ + tar xvf Python-3.8.12.tgz &&\ + cd Python-3.8.*/ && \ + ./configure --enable-optimizations && \ + make altinstall && \ + python3.8 -m pip install pip-tools COPY scripts/* ./