blob: c0996d1bec2340daeb8c72f2fce00a8192f3347b [file] [log] [blame]
Alexf2f657e2021-06-14 19:44:05 -05001FROM xrally/xrally-openstack:2.1.0
2
3MAINTAINER Alex Savatieiev (a.savex@gmail.com)
4
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