aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/build_image.sh8
-rwxr-xr-xdocker/run_image.sh2
2 files changed, 5 insertions, 5 deletions
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