blob: bcf803add861e47bf0c6ed441d7a283f5ad19ce9 [file] [log] [blame]
Ievgeniia Zadorozhna5c7a4b92025-05-05 18:49:16 +02001FROM mirantis.azurecr.io/openstack/extra/xrally-openstack:2.2.0-20250416084155
Alexc7f187c2022-04-28 10:02:27 -05002
Ievgeniia Zadorozhnaa33b29a2023-08-29 18:19:47 +03003LABEL maintainer="qa-ps@mirantis.com"
Alexc7f187c2022-04-28 10:02:27 -05004
5WORKDIR /rally
Alex1a216672022-05-25 12:40:55 -05006RUN mkdir /rally/rally-files && \
7 sudo apt-get update && \
Ievgeniia Zadorozhna5c7a4b92025-05-05 18:49:16 +02008 sudo apt-get install -y wget curl git && \
9 sudo apt-get install -y --only-upgrade linux-libc-dev
Alexc7f187c2022-04-28 10:02:27 -050010
11RUN git clone https://github.com/Mirantis/rally-plugins.git && \
12 cd rally-plugins/ && \
Alex1a216672022-05-25 12:40:55 -050013 pip3 install . && \
Ievgeniia Zadorozhna3a526cf2024-01-24 21:03:10 +010014 # since rally-plugins use v1beta1 API which is deprecated, downgrade kubernetes
Ievgeniia Zadorozhna5c7a4b92025-05-05 18:49:16 +020015 # rally-plugins cannot be installed in case of newer kubernetes pip module
Ievgeniia Zadorozhna3a526cf2024-01-24 21:03:10 +010016 pip3 install kubernetes==21.7.0 && \
17 cd /rally && \
18 rally plugin list | grep kubernetes
Alex1a216672022-05-25 12:40:55 -050019
Ievgeniia Zadorozhna712b5132024-10-02 21:22:55 +020020COPY k8s/rally-files/* /rally/rally-files/
Alexc7f187c2022-04-28 10:02:27 -050021
22ENTRYPOINT ["bash"]
23