X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=ci%2Fdocker%2FDockerfile;h=2c243792a4adcd9d496dc2204c2b9a49c458553f;hb=4ff7387ae5bfbb52b654b8466e160cc20aea23b2;hp=217c136154cd65c6a712f5c8184ddc5cc926e7bb;hpb=bdd42e03b0e8ce99888d8ead6a622113af6d2ab5;p=bottlenecks.git diff --git a/ci/docker/Dockerfile b/ci/docker/Dockerfile index 217c1361..2c243792 100644 --- a/ci/docker/Dockerfile +++ b/ci/docker/Dockerfile @@ -8,6 +8,7 @@ ############################################################################## FROM ubuntu:14.04 +MAINTAINER MatthewLi LABEL image=opnfv/bottlenecks @@ -20,16 +21,19 @@ ENV RELENG_REPO_DIR ${REPOS_DIR}/releng #new test suite required packages can be added here RUN apt-get update && apt-get install -y \ + libffi-dev \ + libssl-dev \ + libxml2-dev \ + libxslt1-dev \ curl \ wget \ git \ sshpass \ python \ - python-glanceclient \ - python-heatclient \ - python-keystoneclient \ - python-neutronclient \ - python-novaclient + python-dev \ + python-pip \ + python-setuptools && \ + easy_install -U setuptools RUN apt-get -y autoremove && \ apt-get clean @@ -37,7 +41,8 @@ RUN apt-get -y autoremove && \ RUN mkdir -p ${REPOS_DIR} RUN git config --global http.sslVerify false -# TODO fix code clone handler -#RUN git clone https://gerrit.opnfv.org/gerrit/bottlenecks ${BOTTLENECKS_REPO_DIR} -#RUN git clone https://gerrit.opnfv.org/gerrit/releng ${RELENG_REPO_DIR} +RUN git clone https://gerrit.opnfv.org/gerrit/bottlenecks ${BOTTLENECKS_REPO_DIR} +RUN git clone https://gerrit.opnfv.org/gerrit/releng ${RELENG_REPO_DIR} +RUN easy_install pytz +RUN pip install -r ${REPOS_DIR}/bottlenecks/requirements.txt