diff options
author | jhh <jorge.hernandez-herrero@att.com> | 2019-04-26 12:17:40 -0500 |
---|---|---|
committer | jhh <jorge.hernandez-herrero@att.com> | 2019-04-26 12:17:40 -0500 |
commit | b5df17d39e93d91ed3f228b077ada296986ff4f6 (patch) | |
tree | b2611f3790372f270a0482e42fffd2fac88929ff /packages/docker | |
parent | fa324fe235bbba668adeb147ffca27a4124b5af9 (diff) |
New BUILD_VERSION needed as fixed in parent image
BUILD_VERSION could not be used in ENV variable
as it is cooked in the base image itself. Need to
create a new one to reflect the drools build to
get by.
Change-Id: Ide67a181e5959c5e0d087345db86baf0cc8169b6
Issue-ID: INT-998
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Diffstat (limited to 'packages/docker')
-rw-r--r-- | packages/docker/src/main/docker/docker-install.sh | 6 |
1 files changed, 3 insertions, 3 deletions
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 |