| Ievgeniia Zadorozhna | 3a526cf | 2024-01-24 21:03:10 +0100 | [diff] [blame] | 1 | FROM xrally/xrally-openstack:2.1.0 | 
| Alex | c7f187c | 2022-04-28 10:02:27 -0500 | [diff] [blame] | 2 |  | 
| Ievgeniia Zadorozhna | a33b29a | 2023-08-29 18:19:47 +0300 | [diff] [blame] | 3 | LABEL maintainer="qa-ps@mirantis.com" | 
| Alex | c7f187c | 2022-04-28 10:02:27 -0500 | [diff] [blame] | 4 |  | 
 | 5 | WORKDIR /rally | 
| Alex | 1a21667 | 2022-05-25 12:40:55 -0500 | [diff] [blame] | 6 | RUN mkdir /rally/rally-files && \ | 
 | 7 |     sudo apt-get update && \ | 
| Alex | c7f187c | 2022-04-28 10:02:27 -0500 | [diff] [blame] | 8 |     sudo apt-get install -y wget curl git | 
 | 9 |  | 
 | 10 | RUN git clone https://github.com/Mirantis/rally-plugins.git && \ | 
 | 11 |     cd rally-plugins/ && \ | 
| Alex | 1a21667 | 2022-05-25 12:40:55 -0500 | [diff] [blame] | 12 |     pip3 install . && \ | 
| Ievgeniia Zadorozhna | 3a526cf | 2024-01-24 21:03:10 +0100 | [diff] [blame] | 13 |     # 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 | 
| Alex | 1a21667 | 2022-05-25 12:40:55 -0500 | [diff] [blame] | 17 |  | 
| Ievgeniia Zadorozhna | 712b513 | 2024-10-02 21:22:55 +0200 | [diff] [blame] | 18 | COPY k8s/rally-files/* /rally/rally-files/ | 
| Alex | c7f187c | 2022-04-28 10:02:27 -0500 | [diff] [blame] | 19 |  | 
 | 20 | ENTRYPOINT ["bash"] | 
 | 21 |  |