Skip to content

Commit

Permalink
ee-multicloud: upgrade python to 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
fridim committed Feb 12, 2025
1 parent 8de88ff commit b476b13
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions tools/execution_environments/ee-multicloud-public/Containerfile
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

0 comments on commit b476b13

Please sign in to comment.