rally Dockerfile

there misses some prerequired packages in the rally Dockerfile and amends this.

Change-Id: I142b5f4fc55fe358fb932db0102f53e62efda427
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
This commit is contained in:
MatthewLi 2015-06-03 10:49:52 +00:00
parent aa2299e6ef
commit d88715480b
1 changed files with 6 additions and 4 deletions

View File

@ -1,7 +1,9 @@
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 && \
apt-get -y install vim git python2.7 bash-completion python-dev libffi-dev \
libxml2-dev libxslt1-dev libssl-dev libmysqlclient-dev libpq-dev wget build-essential && \
wget https://raw.github.com/pypa/pip/master/contrib/get-pip.py -O /tmp/pip.py &&\
python /tmp/pip.py && rm /tmp/pip.py &&\
pip install mysql-python
RUN mkdir -p /tmp/rally-src && \
cd /tmp/rally-src && \
@ -17,6 +19,6 @@ RUN mkdir -p /opt/rally/database && \
ADD check_health.py /opt/compass/check_health.py
RUN git clone https://github.com/stackforge/rally.git
RUN cd rally && \
#RUN git clone https://github.com/stackforge/rally.git
RUN cd /tmp/rally-src/rally && \
./install_rally.sh