Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ee-multicloud: upgrade python to 3.11 #9038

Open
wants to merge 1 commit into
base: development
Choose a base branch
from
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM registry.access.redhat.com/ubi8/ubi
USER root
WORKDIR /root

RUN dnf install -y python39-pip \
RUN dnf install -y \
bind-utils \
findutils \
gcc \
Expand All @@ -16,8 +16,9 @@ RUN dnf install -y python39-pip \
libxml2-devel \
openssl \
openssl-devel \
python39 \
python39-devel \
python3.11 \
python3.11-devel \
python3.11-pip \
rsync \
sshpass \
tar \
Expand All @@ -29,9 +30,9 @@ RUN dnf install -y python39-pip \

# Python

RUN alternatives --set python /usr/bin/python3.9 \
&& alternatives --set python3 /usr/bin/python3.9 \
&& alternatives --install /usr/bin/pip pip /usr/bin/pip3.9 1
RUN alternatives --set python /usr/bin/python3.11 \
&& alternatives --set python3 /usr/bin/python3.11 \
&& alternatives --install /usr/bin/pip pip /usr/bin/pip3.11 1
RUN pip install --no-cache-dir --upgrade pip
COPY requirements.txt /tmp/requirements.txt
RUN pip install --no-cache-dir -r /tmp/requirements.txt
Expand Down
Loading