Ievgeniia Zadorozhna | 001ba9b | 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 | |
| 3 | MAINTAINER Alex Savatieiev (a.savex@gmail.com) |
| 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 | 001ba9b | 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 | |
| 18 | COPY ./rally-files/* /rally/rally-files/ |
Alex | c7f187c | 2022-04-28 10:02:27 -0500 | [diff] [blame] | 19 | |
| 20 | ENTRYPOINT ["bash"] |
| 21 | |