Skip to content

Commit cb672f0

Browse files
authored
ansible: update Python on ubi8/rhel8 containers (#3930)
Update the version of Python used in the UBI 8/RHEL 8 container images from Python 3.8 to 3.12. Refs: nodejs/node#55239 (comment)
1 parent 639b70e commit cb672f0

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

ansible/roles/docker/templates/rhel8.Dockerfile.j2

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ RUN dnf install --disableplugin=subscription-manager -y \
2323
git \
2424
java-17-openjdk-headless \
2525
make \
26-
python3.8 \
26+
python3.12 \
27+
python3.12-pip \
2728
procps-ng \
2829
xz \
2930
&& dnf --disableplugin=subscription-manager clean all

ansible/roles/docker/templates/rhel8_arm_cross.Dockerfile.j2

+1-3
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ RUN dnf install --disableplugin=subscription-manager -y \
2727
libstdc++-devel \
2828
libstdc++-devel.i686 \
2929
make \
30-
python3.8 \
30+
python3.12 \
3131
procps-ng \
3232
xz \
3333
&& dnf --disableplugin=subscription-manager clean all
@@ -52,8 +52,6 @@ VOLUME /home/{{ server_user }}/ /home/{{ server_user }}/.ccache
5252

5353
ENV PYTHON /usr/bin/python3
5454

55-
RUN pip3 install tap2junit=={{ tap2junit_version }}
56-
5755
RUN git clone --depth=1 https://github.com/rvagg/rpi-newer-crosstools.git /opt/raspberrypi/rpi-newer-crosstools
5856

5957
COPY cc-selector.sh /opt/raspberrypi/cc-selector.sh

ansible/roles/docker/templates/ubi81.Dockerfile.j2

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ RUN dnf install --disableplugin=subscription-manager -y \
2323
git \
2424
java-17-openjdk-headless \
2525
make \
26-
python3.8 \
26+
python3.12 \
27+
python3.12-pip \
2728
openssl-devel \
2829
procps-ng \
2930
&& dnf --disableplugin=subscription-manager clean all

0 commit comments

Comments
 (0)