aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2019-04-09 10:13:58 +0800
committerYan Yang <yangyanyj@chinamobile.com>2019-04-09 02:16:10 +0000
commit2cd689cf44d895b563d22cef9bfeb855e901bfd9 (patch)
tree232877f9371824de571c52598bbf0b85de89c5af /docker
parent0dd1bf3686a487f56a594a6a55ecaaafbe8793a7 (diff)
Add https support for project
Change-Id: I4783f7e83ffef773829e5717623ea5d96887190c Issue-ID: VFC-1342 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/Dockerfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 32fc8020..47837923 100755
--- a/docker/Dockerfile
+++ b/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
ADD . /service
@@ -36,6 +37,8 @@ WORKDIR /service/vfc/nfvo/lcm
RUN pip install --upgrade setuptools pip && \
pip install --pre -r requirements.txt
+RUN apt-get --purge remove -y wget unzip gcc libssl-dev
+
EXPOSE 8403
WORKDIR /service