Commit 82bd6235 authored by Cristiano Urban's avatar Cristiano Urban
Browse files

Switch to Python v3.9.7.

parent ad3d93b2
Loading
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.6
# Install python 3.9.7
RUN yum -y install gcc openssl-devel bzip2-devel libffi-devel zlib-devel && \
    wget https://www.python.org/ftp/python/3.9.6/Python-3.9.6.tgz && \
    tar xzf Python-3.9.6.tgz && \
    cd Python-3.9.6 && \
    wget https://www.python.org/ftp/python/3.9.7/Python-3.9.7.tgz && \
    tar xzf Python-3.9.7.tgz && \
    cd Python-3.9.7 && \
    ./configure --enable-optimizations && \
    make altinstall && cd .. && rm Python-3.9.6.tgz
    make altinstall && cd .. && rm Python-3.9.7.tgz
    
# Install redis, psycopg2, paramiko, scp, tabulate Python packages
RUN pip3.9 install --no-cache-dir redis psycopg2-binary paramiko scp tabulate
+2 −2
Original line number Diff line number Diff line
# Use python 3.9.6-slim as base image
FROM python:3.9.6-slim
# Use python 3.9.7-slim as base image
FROM python:3.9.7-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