From fa84126dc8dfb272263d884247c1a8a3b6ce7b9c Mon Sep 17 00:00:00 2001 From: fujinhua Date: Sat, 13 Apr 2019 09:09:27 +0800 Subject: Update docker file for lcm Change-Id: Ibc7d3beeecbffa64a2c4b844b151c98a0a1fdb1e Issue-ID: VFC-1306 Signed-off-by: fujinhua --- docker/Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 8f00db43..02327743 100755 --- a/docker/Dockerfile +++ b/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 && \ @@ -35,8 +34,10 @@ WORKDIR /service # get binary zip from nexus - vfc-nfvo-lcm RUN wget -q -O vfc-nfvo-lcm.zip 'https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.vfc.nfvo.lcm&a=vfc-nfvo-lcm&v=LATEST&e=zip' && \ unzip vfc-nfvo-lcm.zip && \ - rm -rf vfc-nfvo-lcm.zip && \ - chown onap:onap -R /service /var/log + rm -rf vfc-nfvo-lcm.zip + +# change user:group +RUN chown onap:onap -R /service /var/log WORKDIR /service/vfc/nfvo/lcm RUN pip install --upgrade setuptools pip && \ -- cgit 1.2.3-korg