Commit 6983adde authored by Cristiano Urban's avatar Cristiano Urban
Browse files

Switch to Python v3.9.9.

parent 6efbc7b0
Loading
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -13,13 +13,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.8
# Install python 3.9.9
RUN yum -y install gcc openssl-devel bzip2-devel libffi-devel zlib-devel && \
    wget https://www.python.org/ftp/python/3.9.8/Python-3.9.8.tgz && \
    tar xzf Python-3.9.8.tgz && \
    cd Python-3.9.8 && \
    wget https://www.python.org/ftp/python/3.9.9/Python-3.9.9.tgz && \
    tar xzf Python-3.9.9.tgz && \
    cd Python-3.9.9 && \
    ./configure --enable-optimizations && \
    make altinstall && cd .. && rm Python-3.9.8.tgz
    make altinstall && cd .. && rm Python-3.9.9.tgz
    
# Install redis, psycopg2, paramiko, scp, tabulate Python packages
RUN pip3.9 install --no-cache-dir redis hiredis psycopg2-binary paramiko scp tabulate
+2 −2
Original line number Diff line number Diff line
@@ -4,8 +4,8 @@
# SPDX-License-Identifier: GPL-3.0-or-later
#

# Use python 3.9.8-slim as base image
FROM python:3.9.8-slim
# Use python 3.9.9-slim as base image
FROM python:3.9.9-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