bugfix for Dockerfile
[bottlenecks.git] / ci / docker / Dockerfile
index a8f7e38..2c24379 100644 (file)
@@ -21,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
@@ -38,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