diff options
author | Ethan Lynn <ethanlynnl@vmware.com> | 2019-02-26 16:57:19 +0800 |
---|---|---|
committer | Ethan Lynn <ethanlynnl@vmware.com> | 2019-02-26 17:03:49 +0800 |
commit | 112dd7070ba925e4cc80191aac86e33696aea5ef (patch) | |
tree | 6555e00caf43f7eb13b9361dc152f54092424717 /vio/docker | |
parent | 70792c40cb8dd39ffbfbeebe324dd911a3c7f0d6 (diff) |
Fix docker permission
fix docker permission
Change-Id: I5efe76ab8d57a1eb5e318db1befdc09c965299e5
Issue-ID: MULTICLOUD-497
Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
Diffstat (limited to 'vio/docker')
-rw-r--r-- | vio/docker/Dockerfile | 6 |
1 files changed, 3 insertions, 3 deletions
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"] |