blob: 510638d8a3ae65e33b1d0e9827c4377490f63d62 [file] [log] [blame]
Alexf2f657e2021-06-14 19:44:05 -05001FROM xrally/xrally-openstack:2.1.0
2
Ievgeniia Zadorozhnaa33b29a2023-08-29 18:19:47 +03003LABEL maintainer="qa-ps@mirantis.com"
Alexf2f657e2021-06-14 19:44:05 -05004
Alex1a89dfb2021-06-18 11:35:25 -05005WORKDIR /rally
6RUN sudo apt update && \
7 sudo apt -y install curl wget vim
8
9RUN git clone https://gerrit.mcp.mirantis.com/mcp/cvp-configuration /rally/res-files && \
Alexf2f657e2021-06-14 19:44:05 -050010 rally db recreate && \
Alex1a89dfb2021-06-18 11:35:25 -050011 git clone https://github.com/Mirantis/rally-plugins.git /rally/rally-plugins && \
12 cd /rally/rally-plugins/ && \
Alexf2f657e2021-06-14 19:44:05 -050013 pip3 install . && \
14 rally plugin list | grep kubernetes && \
Alex1a89dfb2021-06-18 11:35:25 -050015 rm -rf /rally/res-files/.git
Alexf2f657e2021-06-14 19:44:05 -050016
17RUN curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" && \
Alex1a89dfb2021-06-18 11:35:25 -050018 sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl && \
Alexf2f657e2021-06-14 19:44:05 -050019 rm kubectl
20
21ENTRYPOINT ["sleep infinite"]
22