From 112dd7070ba925e4cc80191aac86e33696aea5ef Mon Sep 17 00:00:00 2001 From: Ethan Lynn Date: Tue, 26 Feb 2019 16:57:19 +0800 Subject: Fix docker permission fix docker permission Change-Id: I5efe76ab8d57a1eb5e318db1befdc09c965299e5 Issue-ID: MULTICLOUD-497 Signed-off-by: Ethan Lynn --- vio/docker/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vio/docker/Dockerfile') diff --git a/vio/docker/Dockerfile b/vio/docker/Dockerfile index 6cd1361..02a6f9d 100644 --- a/vio/docker/Dockerfile +++ b/vio/docker/Dockerfile @@ -24,11 +24,11 @@ RUN cd /opt/ && \ wget -q -O multicloud-vio.zip 'https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.multicloud.openstack.vmware&a=multicloud-openstack-vmware&v=1.3.0-SNAPSHOT&e=zip' && \ unzip multicloud-vio.zip && \ rm -rf multicloud-vio.zip && \ - pip install -r vio/requirements.txt && \ - chown onap:onap -R vio/ + pip install -r /opt/vio/requirements.txt && \ + chown onap:onap -R /opt/vio/ USER onap -WORKDIR /opt +WORKDIR /opt/vio # ENTRYPOINT vio/docker/docker-entrypoint.sh CMD ["/bin/sh", "-c", "/opt/vio/run.sh"] -- cgit 1.2.3-korg