summaryrefslogtreecommitdiffstats
path: root/gvnfmadapter/docker
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2019-04-11 14:37:52 +0800
committerYan Yang <yangyanyj@chinamobile.com>2019-04-11 06:48:09 +0000
commiteb26703e56f69bf8a018f9160de53c4ff290a8f6 (patch)
tree873fa9193d3b97804cfc0f932e1172ea7068a8fb /gvnfmadapter/docker
parent53a997f9ffd7cbdf49154dacaf54042344ed594a (diff)
Add https support for gvnfm
Change-Id: I36506eb50de226275862cf4e5af30fe231bc4e71 Issue-ID: VFC-1342 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'gvnfmadapter/docker')
-rw-r--r--gvnfmadapter/docker/Dockerfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/gvnfmadapter/docker/Dockerfile b/gvnfmadapter/docker/Dockerfile
index d27ed1f..8b55f83 100644
--- a/gvnfmadapter/docker/Dockerfile
+++ b/gvnfmadapter/docker/Dockerfile
@@ -10,6 +10,7 @@ RUN sed -i "s|set compatible|set nocompatible|" /etc/vim/vimrc.tiny
RUN echo "set backspace=2" >> /etc/vim/vimrc.tiny
RUN apt-get update && \
+ apt-get install -y wget unzip gcc libssl-dev && \
apt-get install -y python-virtualenv && \
apt-get install -y python-setuptools && \
apt-get install -y python-dev && \
@@ -19,7 +20,7 @@ RUN apt-get update && \
apt-get install -y unzip && \
apt-get install -y curl && \
apt-get install -y build-essential && \
- apt-get install -y libssl-dev && \
+# apt-get install -y libssl-dev && \
apt-get install -y libffi-dev
ADD . /service
@@ -33,6 +34,8 @@ RUN wget -q -O vfc-nfvo-driver-vnfm-gvnfm-gvnfmadapter.zip 'https://nexus.onap.o
WORKDIR /service/vfc/nfvo/driver/vnfm/gvnfm/gvnfmadapter
RUN pip install -r requirements.txt
+RUN apt-get --purge remove -y wget unzip gcc libssl-dev
+
EXPOSE 8484
WORKDIR /service