summaryrefslogtreecommitdiffstats
path: root/mgr/docker/Dockerfile
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2019-04-11 10:38:15 +0800
committerYan Yang <yangyanyj@chinamobile.com>2019-04-11 02:39:20 +0000
commit0259dc517346df30f8f8ac1f71610419ac720716 (patch)
tree63ec29ec8f3abed52e1268611c9eeabf541ea275 /mgr/docker/Dockerfile
parent98d719f527ccc25ccab44916a54f654c462054ba (diff)
Add https support for project
Change-Id: I9ca183381c5b1df0290e837ac1dd59e0ac0b6b2d Issue-ID: VFC-1342 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'mgr/docker/Dockerfile')
-rw-r--r--mgr/docker/Dockerfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/mgr/docker/Dockerfile b/mgr/docker/Dockerfile
index 52f1a31..3e4ae2d 100644
--- a/mgr/docker/Dockerfile
+++ b/mgr/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 && \
@@ -21,7 +22,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 && \
groupadd -r onap && useradd -r -g onap onap && \
chmod u+w /etc/sudoers && \
@@ -40,6 +41,8 @@ RUN wget -q -O vfc-gvnfm-vnfmgr.zip 'https://nexus.onap.org/service/local/artifa
WORKDIR /service/vfc/gvnfm/vnfmgr/mgr
RUN pip install -r requirements.txt
+RUN apt-get --purge remove -y wget unzip gcc libssl-dev
+
EXPOSE 8803
USER onap