diff options
-rw-r--r-- | docker_build.sh | 2 | ||||
-rw-r--r-- | docker_merge.sh | 2 | ||||
-rw-r--r-- | docker_verify.sh | 2 | ||||
-rw-r--r-- | packages/docker/src/main/docker/docker-install.sh | 6 |
4 files changed, 6 insertions, 6 deletions
diff --git a/docker_build.sh b/docker_build.sh index 7100d6c35..2f11b0ba4 100644 --- a/docker_build.sh +++ b/docker_build.sh @@ -25,7 +25,7 @@ DOCKER_REPOSITORY=nexus3.onap.org:10003 MVN_VERSION=$(cat packages/docker/target/version) MVN_MAJMIN_VERSION=$(cut -f 1,2 -d . packages/docker/target/version) TIMESTAMP=$(date -u +%Y%m%dT%H%M%S) -BUILD_ARGS="--build-arg BUILD_VERSION=${MVN_VERSION}" +BUILD_ARGS="--build-arg BUILD_VERSION_ENGINE=${MVN_VERSION}" IMAGE=policy-pe if [ $HTTP_PROXY ]; then diff --git a/docker_merge.sh b/docker_merge.sh index f946648fd..c624662b9 100644 --- a/docker_merge.sh +++ b/docker_merge.sh @@ -25,7 +25,7 @@ DOCKER_REPOSITORY=nexus3.onap.org:10003 MVN_VERSION=$(cat packages/docker/target/version) MVN_MAJMIN_VERSION=$(cut -f 1,2 -d . packages/docker/target/version) TIMESTAMP=$(date -u +%Y%m%dT%H%M%S) -BUILD_ARGS="--build-arg BUILD_VERSION=${MVN_VERSION}" +BUILD_ARGS="--build-arg BUILD_VERSION_ENGINE=${MVN_VERSION}" IMAGE=policy-pe if [ $HTTP_PROXY ]; then diff --git a/docker_verify.sh b/docker_verify.sh index a534ee52b..d97a87f1a 100644 --- a/docker_verify.sh +++ b/docker_verify.sh @@ -28,7 +28,7 @@ DOCKER_REPOSITORY=nexus3.onap.org:10003 MVN_VERSION=$(cat packages/docker/target/version) MVN_MAJMIN_VERSION=$(cut -f 1,2 -d . packages/docker/target/version) TIMESTAMP=$(date -u +%Y%m%dT%H%M%S) -BUILD_ARGS="--build-arg BUILD_VERSION=${MVN_VERSION}" +BUILD_ARGS="--build-arg BUILD_VERSION_ENGINE=${MVN_VERSION}" IMAGE=policy-pe if [ $HTTP_PROXY ]; then diff --git a/packages/docker/src/main/docker/docker-install.sh b/packages/docker/src/main/docker/docker-install.sh index fbd834dbe..ac9779553 100644 --- a/packages/docker/src/main/docker/docker-install.sh +++ b/packages/docker/src/main/docker/docker-install.sh @@ -555,9 +555,9 @@ function install_brmsgw() { install_prereqs "${BASE_CONF}" - if [[ -n ${BUILD_VERSION} ]]; then - echo "Replacing ${BUILD_VERSION} in ${COMPONENT_TYPE}.conf" - sed -i -e "s/^BRMS_DEPENDENCY_VERSION=.*$/BRMS_DEPENDENCY_VERSION=${BUILD_VERSION}/g" "${COMPONENT_TYPE}.conf" + if [[ -n ${BUILD_VERSION_ENGINE} ]]; then + echo "Replacing ${BUILD_VERSION_ENGINE} in ${COMPONENT_TYPE}.conf" + sed -i -e "s/^BRMS_DEPENDENCY_VERSION=.*$/BRMS_DEPENDENCY_VERSION=${BUILD_VERSION_ENGINE}/g" "${COMPONENT_TYPE}.conf" fi if ! process_configuration "${COMPONENT_TYPE}.conf"; then |