Fix docker build error 85/42685/1
authoryangyan <yangyanyj@chinamobile.com>
Fri, 13 Apr 2018 08:16:00 +0000 (16:16 +0800)
committeryangyan <yangyanyj@chinamobile.com>
Fri, 13 Apr 2018 08:16:05 +0000 (16:16 +0800)
Issue-ID: VFC-880
Change-Id: Ifd5fa6647e8bfa83df822377c197c7838550ac95
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
nokiav2/deployment/src/main/resources/build_image.sh

index 0465374..1f78999 100755 (executable)
@@ -30,7 +30,7 @@ echo "----- Build directory ${DOCKER_BUILD_DIR}"
 cd ${DOCKER_BUILD_DIR}
 
 #VERSION=`xmlstarlet sel -t -v "/_:project/_:version" ../../../pom.xml | sed 's/-SNAPSHOT//g'`
-VERSION=`xmlstarlet sel -t -v "/_:project/_:version" ../../../pom.xml`
+VERSION="1.1.0-SNAPSHOT"
 echo "------ Detected version: $VERSION"
 
 PROJECT="vfc"