Skip to content

Commit

Permalink
ansible: update Python on ubi8/rhel8 containers
Browse files Browse the repository at this point in the history
Update the version of Python used in the UBI 8/RHEL 8 container
images from Python 3.8 to 3.12.
  • Loading branch information
richardlau committed Oct 9, 2024
1 parent 639b70e commit dcc76f5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
3 changes: 2 additions & 1 deletion ansible/roles/docker/templates/rhel8.Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ RUN dnf install --disableplugin=subscription-manager -y \
git \
java-17-openjdk-headless \
make \
python3.8 \
python3.12 \
python3.12-pip \
procps-ng \
xz \
&& dnf --disableplugin=subscription-manager clean all
Expand Down
4 changes: 1 addition & 3 deletions ansible/roles/docker/templates/rhel8_arm_cross.Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RUN dnf install --disableplugin=subscription-manager -y \
libstdc++-devel \
libstdc++-devel.i686 \
make \
python3.8 \
python3.12 \
procps-ng \
xz \
&& dnf --disableplugin=subscription-manager clean all
Expand All @@ -52,8 +52,6 @@ VOLUME /home/{{ server_user }}/ /home/{{ server_user }}/.ccache

ENV PYTHON /usr/bin/python3

RUN pip3 install tap2junit=={{ tap2junit_version }}

RUN git clone --depth=1 https://github.com/rvagg/rpi-newer-crosstools.git /opt/raspberrypi/rpi-newer-crosstools

COPY cc-selector.sh /opt/raspberrypi/cc-selector.sh
Expand Down
3 changes: 2 additions & 1 deletion ansible/roles/docker/templates/ubi81.Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ RUN dnf install --disableplugin=subscription-manager -y \
git \
java-17-openjdk-headless \
make \
python3.8 \
python3.12 \
python3.12-pip \
openssl-devel \
procps-ng \
&& dnf --disableplugin=subscription-manager clean all
Expand Down

0 comments on commit dcc76f5

Please sign in to comment.