summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2019-04-13 09:09:27 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2019-04-13 09:09:27 +0800
commitfa84126dc8dfb272263d884247c1a8a3b6ce7b9c (patch)
treef077c70169ba85bc5924024032204b12ba7da9cf /docker
parent6527f491fbac04cd05dd2bb7b4f04790a60bb807 (diff)
Update docker file for lcm
Change-Id: Ibc7d3beeecbffa64a2c4b844b151c98a0a1fdb1e Issue-ID: VFC-1306 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/Dockerfile7
1 files 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 && \