Fix the version of urllib
[bottlenecks.git] / docker / Dockerfile
index 8f124cb..ef63e3b 100644 (file)
@@ -36,6 +36,7 @@ RUN apt-get update && apt-get install -y \
     vim \
     iputils-ping \
     sshpass \
+    sudo \
     python-setuptools && \
     apt-get -y autoremove && \
     apt-get clean
@@ -48,5 +49,7 @@ RUN git config --global http.sslVerify false
 RUN git clone -b $BRANCH https://gerrit.opnfv.org/gerrit/bottlenecks ${BOTTLENECKS_REPO_DIR}
 RUN git clone https://gerrit.opnfv.org/gerrit/releng ${RELENG_REPO_DIR}
 
+RUN bash ${BOTTLENECKS_REPO_DIR}/utils/k8s_setup/kubectl_install.sh
+
 RUN pip install -r ${BOTTLENECKS_REPO_DIR}/requirements/requirements.txt
 RUN pip install -U ${BOTTLENECKS_REPO_DIR}