summaryrefslogtreecommitdiffstats
path: root/res/docker
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2019-04-11 10:05:58 +0800
committerYan Yang <yangyanyj@chinamobile.com>2019-04-11 02:28:56 +0000
commitd9b8ba8d519818a87b721304109e9a4cb4051c2d (patch)
tree8ddfbac2b27571744e382f7f3a2f1361b8648978 /res/docker
parent36bd24f9c28f6c5e507b80f0ade118ce08335a77 (diff)
Add https support for project
Change-Id: Ib846cb1fe9bb37d7e5491e41fe3558c5082870bd Issue-ID: VFC-1342 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'res/docker')
-rw-r--r--res/docker/Dockerfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/res/docker/Dockerfile b/res/docker/Dockerfile
index aec014f..b47b953 100644
--- a/res/docker/Dockerfile
+++ b/res/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 && \
@@ -41,6 +42,8 @@ RUN wget -q -O vfc-gvnfm-vnfres.zip 'https://nexus.onap.org/service/local/artifa
WORKDIR /service/vfc/gvnfm/vnfres/res
RUN pip install -r requirements.txt
+RUN apt-get --purge remove -y wget unzip gcc libssl-dev
+
EXPOSE 8802
USER onap
WORKDIR /service