blob: 2dbada7a685cb55aedb4947dc6c0cf8917230c54 [file] [log] [blame]
Oleksii Zhurba59100462018-09-05 11:31:21 -05001FROM docker-dev-virtual.docker.mirantis.net/mirantis/cicd/ci-tempest:pike
2
3RUN apt-get update && apt-get install --yes sudo python python-pip vim git-core build-essential libssl-dev libffi-dev python-dev
4
5ARG RALLY_VERSION="0.10.1"
Oleksii Zhurbac8058d62018-06-21 17:46:11 -05006
7SHELL ["/bin/bash", "-xec"]
8
9USER root
10
11WORKDIR /var/lib/
12
Oleksii Zhurba59100462018-09-05 11:31:21 -050013RUN pip install --constraint /var/lib/openstack_requirements/upper-constraints.txt rally==$RALLY_VERSION
14
Oleksii Zhurbac8058d62018-06-21 17:46:11 -050015RUN mkdir -p cvp-configuration
16
Oleksii Zhurba59100462018-09-05 11:31:21 -050017COPY . /var/lib/cvp-configuration/
18RUN mkdir /home/rally
Oleksii Zhurbac8058d62018-06-21 17:46:11 -050019
Oleksii Zhurba59100462018-09-05 11:31:21 -050020RUN mkdir .rally && \
21 echo "connection = \"sqlite:////home/rally/.rally/rally.db\"" > .rally/rally.conf &&\
22 rally db recreate
Oleksii Zhurbac8058d62018-06-21 17:46:11 -050023
Oleksii Zhurba0adc6a52018-07-16 22:18:59 -050024WORKDIR /home/rally
25
Oleksii Zhurbac8058d62018-06-21 17:46:11 -050026ENTRYPOINT ["/bin/bash"]