Oleksii Zhurba | 02eab4f | 2019-03-21 14:09:51 -0500 | [diff] [blame] | 1 | FROM xrally/xrally-openstack:0.11.2 |
Oleksii Zhurba | c8058d6 | 2018-06-21 17:46:11 -0500 | [diff] [blame] | 2 | |
| 3 | SHELL ["/bin/bash", "-xec"] |
| 4 | |
| 5 | USER root |
| 6 | |
Oleksii Zhurba | af3e5e8 | 2018-11-12 12:29:31 -0600 | [diff] [blame] | 7 | RUN apt-get update; apt-get install -y iputils-ping curl wget |
Oleksii Zhurba | 7b95c18 | 2018-07-23 20:50:03 -0500 | [diff] [blame] | 8 | |
Oleksii Zhurba | c8058d6 | 2018-06-21 17:46:11 -0500 | [diff] [blame] | 9 | WORKDIR /var/lib/ |
| 10 | |
| 11 | RUN mkdir -p cvp-configuration |
| 12 | |
| 13 | RUN git clone https://github.com/openstack/tempest && \ |
Oleksii Zhurba | 02eab4f | 2019-03-21 14:09:51 -0500 | [diff] [blame] | 14 | pushd tempest; git checkout 18.0.0; pip install -r requirements.txt; \ |
Oleksii Zhurba | c8058d6 | 2018-06-21 17:46:11 -0500 | [diff] [blame] | 15 | popd; |
| 16 | |
| 17 | RUN git clone https://github.com/openstack/heat-tempest-plugin && \ |
Oleksii Zhurba | 02eab4f | 2019-03-21 14:09:51 -0500 | [diff] [blame] | 18 | pushd heat-tempest-plugin; git checkout 0.2.0; pip install -r requirements.txt; \ |
Oleksii Zhurba | c8058d6 | 2018-06-21 17:46:11 -0500 | [diff] [blame] | 19 | popd; |
| 20 | |
Oleksii Zhurba | 02eab4f | 2019-03-21 14:09:51 -0500 | [diff] [blame] | 21 | RUN pip install --force-reinstall python-cinderclient==3.2.0 python-glanceclient==2.11 |
Oleksii Zhurba | 8b76f3d | 2018-08-07 12:38:26 -0500 | [diff] [blame] | 22 | |
Oleksii Zhurba | c8058d6 | 2018-06-21 17:46:11 -0500 | [diff] [blame] | 23 | COPY rally/ /var/lib/cvp-configuration/rally |
| 24 | COPY tempest/ /var/lib/cvp-configuration/tempest |
| 25 | COPY cleanup.sh /var/lib/cvp-configuration/cleanup.sh |
| 26 | COPY configure.sh /var/lib/cvp-configuration/configure.sh |
| 27 | |
Oleksii Zhurba | 0adc6a5 | 2018-07-16 22:18:59 -0500 | [diff] [blame] | 28 | WORKDIR /home/rally |
| 29 | |
Oleksii Zhurba | c8058d6 | 2018-06-21 17:46:11 -0500 | [diff] [blame] | 30 | ENTRYPOINT ["/bin/bash"] |