
The "real" rally docker container will be built from the image' created by this file. This Dockerfile should be used for creating and uploading rally image with periodic jobs. Change-Id: Id0d0c6d911a1893fe15dcb2cbd7df70b1597c2b8
23 lines
831 B
Docker
23 lines
831 B
Docker
FROM ubuntu:trusty
|
|
RUN apt-get update && \
|
|
apt-get -y install git python2.7 bash-completion python-dev libffi-dev \
|
|
libxml2-dev libxslt1-dev libssl-dev python-pip libmysqlclient-dev && \
|
|
pip install mysql-python
|
|
RUN mkdir -p /tmp/rally-src && \
|
|
cd /tmp/rally-src && \
|
|
git clone https://github.com/stackforge/rally.git
|
|
RUN mkdir -p /opt/rally/database && \
|
|
mkdir -p /etc/rally && \
|
|
mkdir -p /opt/compass/rally/deployment && \
|
|
mkdir -p /opt/compass/rally/scenarios && \
|
|
chmod 0755 /opt/compass && \
|
|
chmod 0755 /opt/compass/rally && \
|
|
chmod 0755 /opt/compass/rally/deployment && \
|
|
chmod 0755 /opt/compass/rally/scenarios
|
|
|
|
ADD check_health.py /opt/compass/check_health.py
|
|
|
|
RUN git clone https://github.com/stackforge/rally.git
|
|
RUN cd rally && \
|
|
./install_rally.sh
|