summaryrefslogtreecommitdiffstats
path: root/controlloop/packages/docker-controlloop/src/main/docker/Dockerfile
diff options
context:
space:
mode:
authorjhh <jorge.hernandez-herrero@att.com>2019-04-26 12:12:47 -0500
committerjhh <jorge.hernandez-herrero@att.com>2019-04-26 12:12:47 -0500
commit74f5aea3da13f47573bff055397c5bbe5e1db55f (patch)
tree04b9b58d0f9651be1151adcb7e464de54a57a57f /controlloop/packages/docker-controlloop/src/main/docker/Dockerfile
parente32d0fac919c8cc5657496a16c300877bd29621e (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. Some minor additional changes as to exit shell when a docker command fails for clarity when executing these operations is added as well. Change-Id: Ic8dfc03bc0563c088d55b1991a0f8c431ab0fab2 Issue-ID: INT-998 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Diffstat (limited to 'controlloop/packages/docker-controlloop/src/main/docker/Dockerfile')
-rw-r--r--controlloop/packages/docker-controlloop/src/main/docker/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/controlloop/packages/docker-controlloop/src/main/docker/Dockerfile b/controlloop/packages/docker-controlloop/src/main/docker/Dockerfile
index c5248ee74..c0b31418a 100644
--- a/controlloop/packages/docker-controlloop/src/main/docker/Dockerfile
+++ b/controlloop/packages/docker-controlloop/src/main/docker/Dockerfile
@@ -7,9 +7,9 @@ COPY apps-controlloop.zip ${POLICY_INSTALL}/
RUN unzip apps-controlloop.zip && \
mkdir -p ${POLICY_HOME}/logs ${POLICY_HOME}/config ${HOME}/.m2 && \
- tar -C ${POLICY_HOME} -xvf base-${BUILD_VERSION}.tar.gz --no-same-owner && \
+ tar -C ${POLICY_HOME} -xvf base-${BUILD_VERSION_DROOLS}.tar.gz --no-same-owner && \
tar -C ${POLICY_HOME} -xvf basex-controlloop-${BUILD_VERSION_APP_CL}.tar.gz --no-same-owner && \
- unzip policy-management-${BUILD_VERSION}.zip -d ${POLICY_HOME} && \
+ unzip policy-management-${BUILD_VERSION_DROOLS}.zip -d ${POLICY_HOME} && \
echo "source ${POLICY_HOME}/etc/profile.d/env.sh" >> "${HOME}/.bashrc" && \
chmod 700 ${POLICY_HOME}/bin/* && \
chmod 600 ${POLICY_HOME}/config/* && \