Skip to content

Commit 948eeff

Browse files
committed
Use rhel9/python312 in pre-commit jobs
Without it we can't bump pre-commit in edpm-ansible and other repos. Signed-off-by: rabi <[email protected]>
1 parent 96b8f46 commit 948eeff

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

images/pre-commit/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.18-openshift-4.12
2-
RUN yum update -y && yum install -y python39 python39-pip
3-
RUN alternatives --set python3 /usr/bin/python3.9
4-
RUN pip3 install pre-commit
1+
FROM registry.ci.openshift.org/openshift/release:rhel-9-release-golang-1.22-openshift-4.18
2+
RUN yum update -y && yum install -y python3.13 python3.13-pip
3+
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.13 1
4+
RUN pip3.13 install pre-commit

0 commit comments

Comments
 (0)