From 8019db1cd8367ecbd952672ec032617ee2740774 Mon Sep 17 00:00:00 2001 From: Seda Gundogdu Date: Tue, 6 Aug 2024 17:34:26 +0300 Subject: [PATCH] enable epel --- test-images/almalinux-9/Dockerfile | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/test-images/almalinux-9/Dockerfile b/test-images/almalinux-9/Dockerfile index d62cb9ca..722aaead 100644 --- a/test-images/almalinux-9/Dockerfile +++ b/test-images/almalinux-9/Dockerfile @@ -39,21 +39,21 @@ USER postgres RUN cd ~ && initdb -D citus && echo "shared_preload_libraries = 'citus'" >> citus/postgresql.conf USER root -# Install python 3.8 and its dependencies -RUN yum install -y gcc make && \ - yum -y install libcurl-devel \ - openssl-devel \ - bzip2-devel \ - libffi-devel \ - xz-devel \ - python38-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 +# Enable EPEL repository and install python 3.8 and its dependencies +RUN yum install -y epel-release && \ + yum install -y gcc make \ + libcurl-devel \ + openssl-devel \ + bzip2-devel \ + libffi-devel \ + xz-devel \ + python38-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/* ./