Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions test-images/almalinux-9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,18 @@ USER root
# Enable EPEL repository and install dependencies for Python 3.8
RUN yum install -y epel-release && \
yum install -y gcc make libcurl-devel openssl-devel bzip2-devel libffi-devel xz-devel wget tar zlib-devel && \
wget https://www.python.org/ftp/python/3.8.12/Python-3.8.12.tgz && \
tar xvf Python-3.8.12.tgz && \
cd Python-3.8.12 && \
wget https://www.python.org/ftp/python/3.12.12/Python-3.12.12.tgz && \
tar xvf Python-3.12.12.tgz && \
cd Python-3.12.12 && \
./configure --enable-optimizations && \
make altinstall && \
python3.8 -m pip install pip-tools
python3.12 -m pip install pip-tools


COPY scripts/* ./

# Use pip-tools to compile and install requirements
RUN pip-compile && python3.8 -m pip install -r requirements.txt
RUN pip-compile && python3.12 -m pip install -r requirements.txt

USER postgres

Expand Down
12 changes: 6 additions & 6 deletions test-images/centos-7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ USER postgres
RUN cd ~ && initdb -D citus && echo "shared_preload_libraries = 'citus'" >> citus/postgresql.conf

USER root
# Install python 3.8 and its dependencies
# Install python 3.12 and its dependencies
RUN yum install -y gcc make && \
yum -y install libcurl-devel \
openssl-devel \
Expand All @@ -51,16 +51,16 @@ RUN yum install -y gcc make && \
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.*/ && \
curl https://www.python.org/ftp/python/3.12.12/Python-3.12.12.tgz --output Python-3.12.12.tgz &&\
tar xvf Python-3.12.12.tgz &&\
cd Python-3.12.*/ && \
./configure --enable-optimizations && \
make altinstall && \
python3.8 -m pip install pip-tools
python3.12 -m pip install pip-tools

COPY scripts/* ./

RUN pip-compile && python3.8 -m pip install -r requirements.txt
RUN pip-compile && python3.12 -m pip install -r requirements.txt


USER postgres
Expand Down
12 changes: 6 additions & 6 deletions test-images/centos-8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ USER postgres
RUN cd ~ && initdb -D citus && echo "shared_preload_libraries = 'citus'" >> citus/postgresql.conf

USER root
# Install python 3.8 and its dependencies
# Install python 3.12 and its dependencies
RUN yum install -y gcc make && \
yum -y install libcurl-devel \
openssl-devel \
Expand All @@ -53,16 +53,16 @@ RUN yum install -y gcc make && \
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.*/ && \
curl https://www.python.org/ftp/python/3.12.12/Python-3.12.12.tgz --output Python-3.12.12.tgz &&\
tar xvf Python-3.12.12.tgz &&\
cd Python-3.12.*/ && \
./configure --enable-optimizations && \
make altinstall && \
python3.8 -m pip install pip-tools
python3.12 -m pip install pip-tools

COPY scripts/* ./

RUN pip-compile && python3.8 -m pip install -r requirements.txt
RUN pip-compile && python3.12 -m pip install -r requirements.txt


USER postgres
Expand Down
12 changes: 6 additions & 6 deletions test-images/debian-bookworm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,24 +51,24 @@ USER postgres
RUN cd ~ && initdb -D citus && echo "shared_preload_libraries = 'citus'" >> citus/postgresql.conf

USER root
# Install python 3.8 and its dependencies
# Install python 3.12 and its dependencies
RUN apt-get install -y build-essential \
libcurl4-openssl-dev \
libssl-dev \
zlib1g-dev \
curl \
libffi-dev \
gnupg2 && \
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.*/ && \
curl https://www.python.org/ftp/python/3.12.12/Python-3.12.12.tgz --output Python-3.12.12.tgz &&\
tar xvf Python-3.12.12.tgz &&\
cd Python-3.12.*/ && \
./configure --enable-optimizations && \
make altinstall && \
python3.8 -m pip install pip-tools
python3.12 -m pip install pip-tools

COPY scripts/* ./

RUN pip-compile && python3.8 -m pip install -r requirements.txt
RUN pip-compile && python3.12 -m pip install -r requirements.txt

USER postgres

Expand Down
12 changes: 6 additions & 6 deletions test-images/debian-bullseye/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,24 +51,24 @@ USER postgres
RUN cd ~ && initdb -D citus && echo "shared_preload_libraries = 'citus'" >> citus/postgresql.conf

USER root
# Install python 3.8 and its dependencies
# Install python 3.12 and its dependencies
RUN apt-get install -y build-essential \
libcurl4-openssl-dev \
libssl-dev \
zlib1g-dev \
curl \
libffi-dev \
gnupg2 && \
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.*/ && \
curl https://www.python.org/ftp/python/3.12.12/Python-3.12.12.tgz --output Python-3.12.12.tgz &&\
tar xvf Python-3.12.12.tgz &&\
cd Python-3.12.*/ && \
./configure --enable-optimizations && \
make altinstall && \
python3.8 -m pip install pip-tools
python3.12 -m pip install pip-tools

COPY scripts/* ./

RUN pip-compile && python3.8 -m pip install -r requirements.txt
RUN pip-compile && python3.12 -m pip install -r requirements.txt

USER postgres

Expand Down
12 changes: 6 additions & 6 deletions test-images/debian-buster/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,24 +52,24 @@ USER postgres
RUN cd ~ && initdb -D citus && echo "shared_preload_libraries = 'citus'" >> citus/postgresql.conf

USER root
# Install python 3.8 and its dependencies
# Install python 3.12 and its dependencies
RUN apt-get install -y build-essential \
libcurl4-openssl-dev \
libssl-dev \
zlib1g-dev \
curl \
libffi-dev \
gnupg2 && \
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.*/ && \
curl https://www.python.org/ftp/python/3.12.12/Python-3.12.12.tgz --output Python-3.12.12.tgz &&\
tar xvf Python-3.12.12.tgz &&\
cd Python-3.12.*/ && \
./configure --enable-optimizations && \
make altinstall && \
python3.8 -m pip install pip-tools
python3.12 -m pip install pip-tools

COPY scripts/* ./

RUN pip-compile && python3.8 -m pip install -r requirements.txt
RUN pip-compile && python3.12 -m pip install -r requirements.txt

USER postgres

Expand Down
12 changes: 6 additions & 6 deletions test-images/debian-stretch/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,24 +52,24 @@ USER postgres
RUN cd ~ && initdb -D citus && echo "shared_preload_libraries = 'citus'" >> citus/postgresql.conf

USER root
# Install python 3.8 and its dependencies
# Install python 3.12 and its dependencies
RUN apt-get install -y build-essential \
libcurl4-openssl-dev \
libssl-dev \
zlib1g-dev \
curl \
libffi-dev \
gnupg2 && \
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.*/ && \
curl https://www.python.org/ftp/python/3.12.12/Python-3.12.12.tgz --output Python-3.12.12.tgz &&\
tar xvf Python-3.12.12.tgz &&\
cd Python-3.12.*/ && \
./configure --enable-optimizations && \
make altinstall && \
python3.8 -m pip install pip-tools
python3.12 -m pip install pip-tools

COPY scripts/* ./

RUN pip-compile && python3.8 -m pip install -r requirements.txt
RUN pip-compile && python3.12 -m pip install -r requirements.txt

USER postgres

Expand Down
12 changes: 6 additions & 6 deletions test-images/debian-trixie/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,24 +52,24 @@ USER postgres
RUN cd ~ && initdb -D citus && echo "shared_preload_libraries = 'citus'" >> citus/postgresql.conf

USER root
# Install python 3.8 and its dependencies
# Install python 3.12 and its dependencies
RUN apt-get install -y build-essential \
libcurl4-openssl-dev \
libssl-dev \
zlib1g-dev \
curl \
libffi-dev \
gnupg2 && \
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.*/ && \
curl https://www.python.org/ftp/python/3.12.12/Python-3.12.12.tgz --output Python-3.12.12.tgz &&\
tar xvf Python-3.12.12.tgz &&\
cd Python-3.12.*/ && \
./configure --enable-optimizations && \
make altinstall && \
python3.8 -m pip install pip-tools
python3.12 -m pip install pip-tools

COPY scripts/* ./

RUN pip-compile && python3.8 -m pip install -r requirements.txt
RUN pip-compile && python3.12 -m pip install -r requirements.txt

USER postgres

Expand Down
12 changes: 6 additions & 6 deletions test-images/el-7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ USER postgres
RUN cd ~ && initdb -D citus && echo "shared_preload_libraries = 'citus'" >> citus/postgresql.conf

USER root
# Install python 3.8 and its dependencies
# Install python 3.12 and its dependencies
RUN yum install -y gcc make && \
yum groupinstall -y 'Development Tools' && \
yum -y install libcurl-devel \
Expand All @@ -52,16 +52,16 @@ RUN yum install -y gcc make && \
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.*/ && \
curl https://www.python.org/ftp/python/3.12.12/Python-3.12.12.tgz --output Python-3.12.12.tgz &&\
tar xvf Python-3.12.12.tgz &&\
cd Python-3.12.*/ && \
./configure --enable-optimizations && \
make altinstall && \
python3.8 -m pip install pip-tools
python3.12 -m pip install pip-tools

COPY scripts/* ./

RUN pip-compile && python3.8 -m pip install -r requirements.txt
RUN pip-compile && python3.12 -m pip install -r requirements.txt


USER postgres
Expand Down
12 changes: 6 additions & 6 deletions test-images/el-8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ USER postgres
RUN cd ~ && initdb -D citus && echo "shared_preload_libraries = 'citus'" >> citus/postgresql.conf

USER root
# Install python 3.8 and its dependencies
# Install python 3.12 and its dependencies
RUN yum install -y gcc make && \
yum -y install libcurl-devel \
openssl-devel \
Expand All @@ -51,16 +51,16 @@ RUN yum install -y gcc make && \
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.*/ && \
curl https://www.python.org/ftp/python/3.12.12/Python-3.12.12.tgz --output Python-3.12.12.tgz &&\
tar xvf Python-3.12.12.tgz &&\
cd Python-3.12.*/ && \
./configure --enable-optimizations && \
make altinstall && \
python3.8 -m pip install pip-tools
python3.12 -m pip install pip-tools

COPY scripts/* ./

RUN pip-compile && python3.8 -m pip install -r requirements.txt
RUN pip-compile && python3.12 -m pip install -r requirements.txt


USER postgres
Expand Down
12 changes: 6 additions & 6 deletions test-images/ol-7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ USER postgres
RUN cd ~ && initdb -D citus && echo "shared_preload_libraries = 'citus'" >> citus/postgresql.conf

USER root
# Install python 3.8 and its dependencies
# Install python 3.12 and its dependencies
RUN yum install -y gcc make && \
yum -y install libcurl-devel \
openssl-devel \
Expand All @@ -45,16 +45,16 @@ RUN yum install -y gcc make && \
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.*/ && \
curl https://www.python.org/ftp/python/3.12.12/Python-3.12.12.tgz --output Python-3.12.12.tgz &&\
tar xvf Python-3.12.12.tgz &&\
cd Python-3.12.*/ && \
./configure --enable-optimizations && \
make altinstall && \
python3.8 -m pip install pip-tools
python3.12 -m pip install pip-tools

COPY scripts/* ./

RUN pip-compile && python3.8 -m pip install -r requirements.txt
RUN pip-compile && python3.12 -m pip install -r requirements.txt


USER postgres
Expand Down
12 changes: 6 additions & 6 deletions test-images/ol-9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ USER postgres
RUN cd ~ && initdb -D citus && echo "shared_preload_libraries = 'citus'" >> citus/postgresql.conf

USER root
# Install python 3.8 and its dependencies
# Install python 3.12 and its dependencies
RUN yum install -y gcc make && \
yum -y install libcurl-devel \
openssl-devel \
Expand All @@ -44,16 +44,16 @@ RUN yum install -y gcc make && \
xz-devel \
libzstd-devel \
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.*/ && \
curl https://www.python.org/ftp/python/3.12.12/Python-3.12.12.tgz --output Python-3.12.12.tgz &&\
tar xvf Python-3.12.12.tgz &&\
cd Python-3.12.*/ && \
./configure --enable-optimizations && \
make altinstall && \
python3.8 -m pip install pip-tools
python3.12 -m pip install pip-tools

COPY scripts/* ./

RUN pip-compile && python3.8 -m pip install -r requirements.txt
RUN pip-compile && python3.12 -m pip install -r requirements.txt


USER postgres
Expand Down
Loading
Loading