X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=docker%2FDockerfile;h=ef63e3b11ea71e5b14121a7d597ed9e271a10de2;hb=071c4d95f28ac00cda1ed5dba9a4bf209b7a66ab;hp=fc3451ba5a19c4a390107732bbac494323ea211e;hpb=58c97253eaaf72f73924837fca4ddcb5cb8a5d94;p=bottlenecks.git diff --git a/docker/Dockerfile b/docker/Dockerfile index fc3451ba..ef63e3b1 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -7,8 +7,8 @@ # http://www.apache.org/licenses/LICENSE-2.0 ############################################################################## -FROM ubuntu:14.04 -MAINTAINER MatthewLi +FROM ubuntu:16.04 +MAINTAINER Yang (Gabriel) Yu LABEL image=opnfv/bottlenecks @@ -21,7 +21,6 @@ ARG BRANCH=master # Bottlenecks repo ENV BOTTLENECKS_REPO_DIR ${REPOS_DIR}/bottlenecks ENV RELENG_REPO_DIR ${REPOS_DIR}/releng -ENV creds ${BOTTLENECKS_REPO_DIR}/config/openstack.creds #new test suite required packages can be added here RUN apt-get update && apt-get install -y \ @@ -32,23 +31,25 @@ RUN apt-get update && apt-get install -y \ curl \ wget \ git \ - sshpass \ python \ - python-dev \ python-pip \ vim \ + iputils-ping \ + sshpass \ + sudo \ python-setuptools && \ - easy_install -U setuptools==30.0.0 - -RUN apt-get -y autoremove && \ + apt-get -y autoremove && \ apt-get clean +RUN easy_install -U setuptools==30.0.0 + RUN mkdir -p ${REPOS_DIR} 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 easy_install pytz -RUN pip install -r ${REPOS_DIR}/bottlenecks/requirements.txt -RUN pip install -U /home/opnfv/bottlenecks +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}