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/* ./