diff options
author | yangyan <yangyanyj@chinamobile.com> | 2019-04-10 11:19:32 +0800 |
---|---|---|
committer | Yan Yang <yangyanyj@chinamobile.com> | 2019-04-10 03:22:40 +0000 |
commit | 41b8926159ed30d518b356b95850bfc114b9abe6 (patch) | |
tree | e67b8070182223642f31dfae564299f119bf4ac8 /docker/Dockerfile | |
parent | 4005f05cbf5be14ad89a8c3da89d7d905b6b9a7a (diff) |
Add https support for project
Change-Id: I8245484aa297b22412970ce6d5383cf3067ce6d5
Issue-ID: VFC-1342
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'docker/Dockerfile')
-rwxr-xr-x | docker/Dockerfile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index 08c269d8..1cdb2bed 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 && \ groupadd -r onap && useradd -r -g onap onap && \ chmod u+w /etc/sudoers && \ @@ -41,6 +42,8 @@ WORKDIR /service/vfc/nfvo/catalog RUN pip install --upgrade setuptools pip && \ pip install --pre -r requirements.txt +RUN apt-get --purge remove -y wget unzip gcc libssl-dev + EXPOSE 8806 USER onap WORKDIR /service |