Skip to content

Commit

Permalink
Update Dockerfile to fix python38-devel error for ol/9
Browse files Browse the repository at this point in the history
  • Loading branch information
sedagundogdu committed Aug 7, 2024
1 parent 3a4835d commit a3c68d8
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions test-images/ol-9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/* ./

Expand Down

0 comments on commit a3c68d8

Please sign in to comment.