Oleksii Zhurba | c8058d6 | 2018-06-21 17:46:11 -0500 | [diff] [blame] | 1 | FROM xrally/xrally-openstack:0.10.1 |
| 2 | |
| 3 | SHELL ["/bin/bash", "-xec"] |
| 4 | |
| 5 | USER root |
| 6 | |
| 7 | WORKDIR /var/lib/ |
| 8 | |
| 9 | RUN mkdir -p cvp-configuration |
| 10 | |
| 11 | RUN git clone https://github.com/openstack/tempest && \ |
| 12 | pushd tempest; git checkout 17.2.0; pip install -r requirements.txt; \ |
| 13 | popd; |
| 14 | |
| 15 | RUN git clone https://github.com/openstack/telemetry-tempest-plugin && \ |
| 16 | pushd telemetry-tempest-plugin; pip install -r requirements.txt; \ |
| 17 | popd; |
| 18 | |
| 19 | RUN git clone https://github.com/openstack/heat-tempest-plugin && \ |
Oleksii Zhurba | 0adc6a5 | 2018-07-16 22:18:59 -0500 | [diff] [blame^] | 20 | pushd heat-tempest-plugin; git checkout 0.1.0; pip install -r requirements.txt; \ |
Oleksii Zhurba | c8058d6 | 2018-06-21 17:46:11 -0500 | [diff] [blame] | 21 | popd; |
| 22 | |
| 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"] |