Skip to content

Commit

Permalink
enable epel
Browse files Browse the repository at this point in the history
  • Loading branch information
sedagundogdu committed Aug 6, 2024
1 parent 291d598 commit 8019db1
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions test-images/almalinux-9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/* ./

Expand Down

0 comments on commit 8019db1

Please sign in to comment.