diff options
author | fujinhua <fu.jinhua@zte.com.cn> | 2017-09-01 13:57:39 +0800 |
---|---|---|
committer | fujinhua <fu.jinhua@zte.com.cn> | 2017-09-01 14:01:44 +0800 |
commit | 0750bee8cfa8612105455bea35b5514b193354a5 (patch) | |
tree | b0641c940accf41ab81d40bcd4969172dd32e091 /lcm/docker/Dockerfile | |
parent | 229be292116f30908dd3de5bd69dfb7c15b42a93 (diff) |
Update dockerfile of vfc-gvnfm-vnflcm
Add entrypoint to dockerfile
Change-Id: If32fb9ec04a0f492c39d5f61f9481f86e27519cc
Issue-Id: VFC-224
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'lcm/docker/Dockerfile')
-rwxr-xr-x | lcm/docker/Dockerfile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lcm/docker/Dockerfile b/lcm/docker/Dockerfile index e552304e..5b847db3 100755 --- a/lcm/docker/Dockerfile +++ b/lcm/docker/Dockerfile @@ -27,7 +27,7 @@ RUN apt-get update && \ apt-get install -y unzip ADD . /service -RUN cd /service +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&a=vfc-gvnfm-vnflcm-lcm&v=LATEST&e=zip' && \ @@ -44,6 +44,5 @@ RUN wget -q -O vfc-gvnfm-vnfres-res.zip 'https://nexus.onap.org/service/local/ar EXPOSE 8801 EXPOSE 3306 -WORKDIR /service/vfc/gvnfm/vnflcm/ - -CMD lcm/docker/instance_init.sh +WORKDIR /service +ENTRYPOINT vfc/gvnfm/vnflcm/lcm/docker/docker-entrypoint.sh |