Fix the docker build error for vfc-nfvo-wfengine 47/20747/1
authorZhaoxing <meng.zhaoxing1@zte.com.cn>
Thu, 26 Oct 2017 09:27:41 +0000 (17:27 +0800)
committerZhaoxing <meng.zhaoxing1@zte.com.cn>
Thu, 26 Oct 2017 09:27:41 +0000 (17:27 +0800)
Change-Id: Iea268ef0be9236fde40744be7040caf707d108ac
Issue-id: VFC-445
Signed-off-by: Zhaoxing <meng.zhaoxing1@zte.com.cn>
wfenginemgrservice/src/main/docker/bin/run.sh

index 4ce6078..1ffff90 100644 (file)
@@ -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  =============================================