Skip to content

Commit f6a17b2

Browse files
committed
Use centos-stream base image
We don't need the ci-frameork-image. Signed-off-by: rabi <[email protected]>
1 parent dc42bc8 commit f6a17b2

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

ci-operator/config/openstack-k8s-operators/edpm-ansible/openstack-k8s-operators-edpm-ansible-main.yaml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
1-
build_root:
2-
image_stream_tag:
3-
name: ci-framework-image
4-
namespace: openstack-k8s-operators
5-
tag: latest
1+
base_images:
2+
centos-stream:
3+
name: centos
4+
namespace: openshift
5+
tag: stream9
66
images:
77
- dockerfile_literal: |
8-
FROM src
8+
FROM centos-stream
99
RUN dnf install -y python3.12 python3.12-pip git && \
10-
(alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 20 2>/dev/null || true) && \
11-
(alternatives --set python3 /usr/bin/python3.12 2>/dev/null || \
12-
ln -sf /usr/bin/python3.12 /usr/bin/python3) && \
13-
(ln -sf /usr/bin/pip3.12 /usr/bin/pip3 2>/dev/null || python3.12 -m ensurepip --upgrade) && \
14-
python3.12 -m pip install pre-commit ansi2txt
15-
from: src
10+
alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 20 && \
11+
alternatives --set python3 /usr/bin/python3.12 && \
12+
python3 -m pip install pre-commit ansi2txt
13+
from: centos-stream
1614
to: edpm-ansible-pre-commit
1715
resources:
1816
'*':

0 commit comments

Comments
 (0)