aboutsummaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorFu Jinhua <fu.jinhua@zte.com.cn>2017-09-01 06:14:39 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-01 06:14:39 +0000
commitabd2646cefce60d250f71dbbd4b37fadae8296fb (patch)
treea09dcecf8fbdf6b72e99746f6b882574bed37164 /docker/Dockerfile
parent4a8261f4411e6ae8eb45b01d2408cab52578970c (diff)
parentf40578b051e1d230035eb300436b30dd77b41888 (diff)
Merge "Update dockerfile of vfc-nfvo-lcm"
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