Commit 8ab41e9e authored by Cristiano Urban's avatar Cristiano Urban
Browse files

Switch to Python v3.9.4.

parent f6c393fa
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -7,13 +7,13 @@ RUN yum update -y && yum -y install epel-release
# Install make, nano, openssh, wget, rsync and cronie
RUN yum -y install make nano openssh-clients wget rsync cronie

# Install python 3.9.2
# Install python 3.9.4
RUN yum -y install gcc openssl-devel bzip2-devel libffi-devel zlib-devel && \
    wget https://www.python.org/ftp/python/3.9.2/Python-3.9.2.tgz && \
    tar xzf Python-3.9.2.tgz && \
    cd Python-3.9.2 && \
    wget https://www.python.org/ftp/python/3.9.4/Python-3.9.4.tgz && \
    tar xzf Python-3.9.4.tgz && \
    cd Python-3.9.4 && \
    ./configure --enable-optimizations && \
    make altinstall && cd .. && rm Python-3.9.2.tgz
    make altinstall && cd .. && rm Python-3.9.4.tgz
    
# Install pika, redis, psycopg2, paramiko and scp Python packages
RUN pip3.9 install --no-cache-dir pika redis psycopg2-binary paramiko scp
+2 −2
Original line number Diff line number Diff line
# Use python 3.9.2-slim as base image
FROM python:3.9.2-slim
# Use python 3.9.4-slim as base image
FROM python:3.9.4-slim

# Install psql client to be able to connect manually to the file_catalog container
# Install also redis-tools to be able to access the redis container via redis-cli