diff options
author | fujinhua <fu.jinhua@zte.com.cn> | 2019-04-13 09:28:50 +0800 |
---|---|---|
committer | fujinhua <fu.jinhua@zte.com.cn> | 2019-04-13 09:28:50 +0800 |
commit | 88f65672cc46fe654374d2f74c924f388929424a (patch) | |
tree | 817dcda4372731ec8c8eda591c65ef9bc1500074 | |
parent | d9b8ba8d519818a87b721304109e9a4cb4051c2d (diff) |
Update docker file for vnfres
Change-Id: I19f7842370dfa3ae6da4a4f0e55dbb4165faefd7
Issue-ID: VFC-1306
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
-rw-r--r-- | res/docker/Dockerfile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/res/docker/Dockerfile b/res/docker/Dockerfile index b47b953..2319d0b 100644 --- a/res/docker/Dockerfile +++ b/res/docker/Dockerfile @@ -22,7 +22,6 @@ 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 libffi-dev && \ groupadd -r onap && useradd -r -g onap onap && \ chmod u+w /etc/sudoers && \ @@ -36,8 +35,9 @@ WORKDIR /service # get binary zip from nexus RUN wget -q -O vfc-gvnfm-vnfres.zip 'https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.vfc.gvnfm.vnfres.res&a=vfc-gvnfm-vnfres-res&v=LATEST&e=zip' && \ unzip vfc-gvnfm-vnfres.zip && \ - rm -rf vfc-gvnfm-vnfres.zip && \ - chown onap:onap -R /service /var/log + rm -rf vfc-gvnfm-vnfres.zip + +RUN chown onap:onap -R /service /var/log WORKDIR /service/vfc/gvnfm/vnfres/res RUN pip install -r requirements.txt |