From 742264268ac942909b2c7bb1cb4e5753083e667b Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam Date: Fri, 16 Oct 2020 18:39:06 +0530 Subject: Updated docker file with memcached library Issue-ID: DOVETAIL-801 Signed-off-by: Kanagaraj Manickam Change-Id: I512ad90256a22eb98dc2837b8df2f91237d0d014 --- docker/Dockerfile.api | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile.api b/docker/Dockerfile.api index 016fa33..5a8d283 100644 --- a/docker/Dockerfile.api +++ b/docker/Dockerfile.api @@ -48,8 +48,9 @@ RUN apt-get update && apt-get install -y \ --no-install-recommends \ && rm -rf /var/lib/apt/lists/* +RUN python -m pip install -U pip RUN pip install -U setuptools - +RUN pip install -U pyopenssl RUN git init $HOME/testapi && \ (cd $HOME/testapi && \ git fetch --tags https://gerrit.opnfv.org/gerrit/dovetail-webportal $BRANCH && \ @@ -58,8 +59,14 @@ RUN git init $HOME/testapi && \ mkdir -p $HOME/testapi/media/companies WORKDIR $HOME/testapi - +RUN pip install --ignore-installed six +RUN pip install --ignore-installed urllib3 +RUN pip install --ignore-installed chardet +RUN pip install --ignore-installed requests RUN pip install -r requirements.txt +# Install Memcached +RUN apt-get update +RUN apt-get -y install memcached libmemcached-tools RUN bash install.sh RUN sed -i '152,152s/)/,\ verify=False)/g' /usr/local/lib/python2.7/dist-packages/cas.py -- cgit 1.2.3-korg