From 9043ea7dd60a598e5797f8008695852d3b7e9a5d Mon Sep 17 00:00:00 2001 From: fujinhua Date: Wed, 6 Sep 2017 10:39:04 +0800 Subject: Fix docker build function name Change-Id: I7122c0e6805535edce9e733843991c1c0e550ec9 Issue-Id: VFC-287 Signed-off-by: fujinhua --- docker/build_image.sh | 8 ++++---- docker/run_image.sh | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'docker') diff --git a/docker/build_image.sh b/docker/build_image.sh index 465bc7a1..3f2c46d0 100755 --- a/docker/build_image.sh +++ b/docker/build_image.sh @@ -19,16 +19,16 @@ if [ $HTTPS_PROXY ]; then BUILD_ARGS+=" --build-arg HTTPS_PROXY=${HTTPS_PROXY}" fi -function build_lcm { +function build_image { echo "Start build docker image: ${IMAGE_NAME}" docker build ${BUILD_ARGS} -t ${IMAGE_NAME}:${VERSION} -t ${IMAGE_NAME}:latest . } -function push_lcm { +function push_image { echo "Start push docker image: ${IMAGE_NAME}" docker push ${IMAGE_NAME}:${VERSION} docker push ${IMAGE_NAME}:latest } -build_lcm -push_lcm +build_image +push_image diff --git a/docker/run_image.sh b/docker/run_image.sh index 59046bec..110d056e 100755 --- a/docker/run_image.sh +++ b/docker/run_image.sh @@ -1,7 +1,7 @@ #!/bin/bash function run_lcm { - docker run -it --name vfc-nslcm -p 3306:3306 -p 8403:8403 -e MSB_ADDR=127.0.0.1 onap/vfc/nslcm + docker run -it --name vfc-nslcm -p 3306:3306 -p 8403:8403 -e MSB_ADDR=127.0.0.1:80 onap/vfc/nslcm } run_lcm \ No newline at end of file -- cgit 1.2.3-korg