blob: 71c927c6531101e8140ad3c292a13cc9c4dcc45c [file] [log] [blame]
Ievgeniia Zadorozhna001ba9b2024-01-24 21:03:10 +01001FROM xrally/xrally-openstack:2.1.0
Alexc7f187c2022-04-28 10:02:27 -05002
3MAINTAINER Alex Savatieiev (a.savex@gmail.com)
4
5WORKDIR /rally
Alex1a216672022-05-25 12:40:55 -05006RUN mkdir /rally/rally-files && \
7 sudo apt-get update && \
Alexc7f187c2022-04-28 10:02:27 -05008 sudo apt-get install -y wget curl git
9
10RUN git clone https://github.com/Mirantis/rally-plugins.git && \
11 cd rally-plugins/ && \
Alex1a216672022-05-25 12:40:55 -050012 pip3 install . && \
Ievgeniia Zadorozhna001ba9b2024-01-24 21:03:10 +010013 # since rally-plugins use v1beta1 API which is deprecated, downgrade kubernetes
14 pip3 install kubernetes==21.7.0 && \
15 cd /rally && \
16 rally plugin list | grep kubernetes
Alex1a216672022-05-25 12:40:55 -050017
18COPY ./rally-files/* /rally/rally-files/
Alexc7f187c2022-04-28 10:02:27 -050019
20ENTRYPOINT ["bash"]
21