diff options
author | fujinhua <fu.jinhua@zte.com.cn> | 2019-04-11 09:13:47 +0800 |
---|---|---|
committer | fujinhua <fu.jinhua@zte.com.cn> | 2019-04-11 09:13:47 +0800 |
commit | a45a1f81d8eb4a369d36eaea6cd52ef3c5e8d26e (patch) | |
tree | 4a0ee6f9d8dd4e8095aba79c769e902c9541f1ed /lcm/docker | |
parent | 3eec1649339617039f5480a5af069b30655d0026 (diff) |
Update dockerfile for vnflcm
Change-Id: Ic147f04372c047520b3e837304a9f72732121832
Issue-ID: VFC-1306
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'lcm/docker')
-rwxr-xr-x | lcm/docker/Dockerfile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lcm/docker/Dockerfile b/lcm/docker/Dockerfile index ed38fa7f..87110066 100755 --- a/lcm/docker/Dockerfile +++ b/lcm/docker/Dockerfile @@ -23,7 +23,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,10 @@ WORKDIR /service # get binary zip from nexus RUN wget -q -O vfc-gvnfm-vnflcm-lcm.zip 'https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.vfc.gvnfm.vnflcm.lcm&a=vfc-gvnfm-vnflcm-lcm&v=LATEST&e=zip' && \ unzip vfc-gvnfm-vnflcm-lcm.zip && \ - rm -rf vfc-gvnfm-vnflcm-lcm.zip && \ - chown onap:onap -R /service /var/log + rm -rf vfc-gvnfm-vnflcm-lcm.zip + +# change user:group +RUN chown onap:onap -R /service /var/log WORKDIR /service/vfc/gvnfm/vnflcm/lcm RUN pip install -r requirements.txt |