aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKanagaraj Manickam <kanagaraj.manickam@huawei.com>2020-10-16 18:39:06 +0530
committerKanagaraj Manickam <kanagaraj.manickam@huawei.com>2020-10-19 22:19:57 +0530
commit742264268ac942909b2c7bb1cb4e5753083e667b (patch)
treee232fad5a88008b9e75c3e914704447b9ca43edf
parent702da130d2522d6b0603d6dfb87a1914760cf94d (diff)
Updated docker file with memcached library
Issue-ID: DOVETAIL-801 Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com> Change-Id: I512ad90256a22eb98dc2837b8df2f91237d0d014
-rw-r--r--docker/Dockerfile.api11
1 files 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