From 88f65672cc46fe654374d2f74c924f388929424a Mon Sep 17 00:00:00 2001 From: fujinhua Date: Sat, 13 Apr 2019 09:28:50 +0800 Subject: Update docker file for vnfres Change-Id: I19f7842370dfa3ae6da4a4f0e55dbb4165faefd7 Issue-ID: VFC-1306 Signed-off-by: fujinhua --- res/docker/Dockerfile | 6 +++--- 1 file 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 -- cgit 1.2.3-korg