aboutsummaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2017-09-01 14:00:05 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2017-09-01 14:00:05 +0800
commitf40578b051e1d230035eb300436b30dd77b41888 (patch)
tree4bb74c489f66d38adce1dbc2a35531baa7d72ae1 /docker/Dockerfile
parent8f82bb88330a9db6f27d53a6c822f58338cc7f68 (diff)
Update dockerfile of vfc-nfvo-lcm
Add entrypoint to dockerfile Change-Id: Iaf5f42ccc056062f2031e88437253ee8927eb697 Issue-Id: VFC-225 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'docker/Dockerfile')
-rwxr-xr-xdocker/Dockerfile7
1 files changed, 2 insertions, 5 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 0b6c42fc..e474e049 100755
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -2,11 +2,9 @@ FROM ubuntu:14.04
ARG HTTP_PROXY=${HTTP_PROXY}
ARG HTTPS_PROXY=${HTTPS_PROXY}
-ARG MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
ENV http_proxy $HTTP_PROXY
ENV https_proxy $HTTPS_PROXY
-ENV MYSQL_ROOT_PASSWORD $MYSQL_ROOT_PASSWORD
RUN apt-get update && \
apt-get install -y python-devel && \
@@ -37,6 +35,5 @@ RUN wget -q -O vfc-nfvo-lcm.zip 'https://nexus.onap.org/service/local/artifact/m
EXPOSE 8403
EXPOSE 3306
-WORKDIR /
-
-CMD service/vfc/nfvo/lcm/docker/instance_init.sh
+WORKDIR /service
+ENTRYPOINT vfc/nfvo/lcm/docker/docker-entrypoint.sh