diff options
author | Lusheng Ji <lji@research.att.com> | 2017-09-12 03:24:27 +0000 |
---|---|---|
committer | Lusheng Ji <lji@research.att.com> | 2017-09-12 03:24:34 +0000 |
commit | 869ede1c52f9c1602e69d4814398e3ddde3ed2c2 (patch) | |
tree | cfd1d943e780cb3406328dabeaa108d212e8252c | |
parent | 1694802295e445771fe32bd3a14fefb53e3ab9fa (diff) |
Fix docker build path
Issue-Id: DCAEGEN2-60
Change-Id: Id4aead99e0f7c629eac3ba092b603502f9622e98
Signed-off-by: Lusheng Ji <lji@research.att.com>
-rwxr-xr-x | mvn-phase-lib.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mvn-phase-lib.sh b/mvn-phase-lib.sh index 2a924f7d..9de7cced 100755 --- a/mvn-phase-lib.sh +++ b/mvn-phase-lib.sh @@ -237,9 +237,12 @@ build_and_push_docker() VERSION2=$(echo "$VERSION" | cut -f1-2 -d'.') LFQI="${IMAGENAME}:${VERSION}-${TIMESTAMP}" - BUILD_PATH="${WORKSPACE}" + #BUILD_PATH="${WORKSPACE}" # build a docker image - docker build --rm -f "${WORKSPACE}"/Dockerfile -t "${LFQI}" "${BUILD_PATH}" + #docker build --rm -f "${WORKSPACE}"/Dockerfile -t "${LFQI}" "${BUILD_PATH}" + #BUILD_PATH="${WORKSPACE}" + # build a docker image + docker build --rm -f ./Dockerfile -t "${LFQI}" ./ REPO="" if [ $MVN_DEPLOYMENT_TYPE == "SNAPSHOT" ]; then |