summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authoryunlong ying <ying.yunlong@zte.com.cn>2019-04-13 04:02:16 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-13 04:02:16 +0000
commit0a07f2d5a6c39091b1b83ceb2cb5ad077e7c234f (patch)
tree16c9f720ba1518a9084d945f38e10fba2b405ada /docker
parentedbafcc751c056ec38540c09ba36a7b20556ac17 (diff)
parentfa84126dc8dfb272263d884247c1a8a3b6ce7b9c (diff)
Merge "Update docker file for lcm"
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 && \