Commit 432164b1 authored by Cristiano Urban's avatar Cristiano Urban
Browse files

Switch to Python v3.9.8.

parent 4f6190c7
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.7
# Install python 3.9.8
RUN yum -y install gcc openssl-devel bzip2-devel libffi-devel zlib-devel && \
    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 && \
    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 && \
    ./configure --enable-optimizations && \
    make altinstall && cd .. && rm Python-3.9.7.tgz
    make altinstall && cd .. && rm Python-3.9.8.tgz
    
# Install redis, psycopg2, paramiko, scp, tabulate Python packages
RUN pip3.9 install --no-cache-dir redis psycopg2-binary paramiko scp tabulate
+2 −3
Original line number Diff line number Diff line
@@ -4,8 +4,8 @@
# SPDX-License-Identifier: GPL-3.0-or-later
#

# Use python 3.9.7-slim as base image
FROM python:3.9.7-slim
# Use python 3.9.8-slim as base image
FROM python:3.9.8-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
@@ -51,4 +51,3 @@ RUN echo ". /usr/share/bash-completion/completions/vos_data" >> .bashrc && \
    
# Install python dependencies
RUN pip3.9 install --no-cache-dir redis tabulate