summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhaoxing <meng.zhaoxing1@zte.com.cn>2017-10-26 17:27:41 +0800
committerZhaoxing <meng.zhaoxing1@zte.com.cn>2017-10-26 17:27:41 +0800
commitbe969c0413c56c2ec07637e50ecbb1dc3206f467 (patch)
treedb01ac5c301868946311036cbbe2b477a845d7c7
parent0617813c3a43bd113d4e0a6dce294618fb5e9734 (diff)
Fix the docker build error for vfc-nfvo-wfengine
Change-Id: Iea268ef0be9236fde40744be7040caf707d108ac Issue-id: VFC-445 Signed-off-by: Zhaoxing <meng.zhaoxing1@zte.com.cn>
-rw-r--r--wfenginemgrservice/src/main/docker/bin/run.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/wfenginemgrservice/src/main/docker/bin/run.sh b/wfenginemgrservice/src/main/docker/bin/run.sh
index 4ce6078..1ffff90 100644
--- a/wfenginemgrservice/src/main/docker/bin/run.sh
+++ b/wfenginemgrservice/src/main/docker/bin/run.sh
@@ -34,10 +34,13 @@ else
fi
echo " dwApp_MSB_ADDR=${dwApp_msbClientConfig_msbSvrIp}:${dwApp_msbClientConfig_msbSvrPort}"
+sed -i "s/127.0.0.1/$dwApp_msbClientConfig_msbSvrIp/g" ./conf/workflow.yml
+sed -i "s/80/$dwApp_msbClientConfig_msbSvrPort/g" ./conf/workflow.yml
+
if [ -f "$RUNHOME/setenv.sh" ]; then
- . "$RUNHOME/setenv.sh"
+ "$RUNHOME/setenv.sh"
else
-echo "can not found $RUNHOME/setenv.sh"
+ echo "can not found $RUNHOME/setenv.sh"
fi
echo ================== ENV_INFO =============================================