aboutsummaryrefslogtreecommitdiffstats
path: root/packages/policy-clamp-docker/src/main/docker/AcmRuntimeDockerfile
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@est.tech>2022-05-31 11:22:10 +0100
committerliamfallon <liam.fallon@est.tech>2022-05-31 15:21:09 +0100
commit8040c95590bca9d7a5e4ac48d72c1198ca66e107 (patch)
treeccd12eaf0679e28dc7a9f3e526fcb1feffa163c8 /packages/policy-clamp-docker/src/main/docker/AcmRuntimeDockerfile
parentb77b61847ddd169da9a71b05742ed51bc826f5f6 (diff)
Fix HTTP handling in CLAMP ACM
HTTPS is turned on using a Java property in the startup scripts in all the CLAMP ACM docker images. This means that HTTP cannot be enabled or HTTPS disabled in configuration. THis commit fixes that bug. The building of the CLAMP docker images calls each jar app.jar. If all images are being built locally together, the names collide and the last image's jar is used for all jars. This commit fixes that bug as well. Issue-ID: POLICY-4224 Change-Id: If4ba8cdef36f7a8a3665fe60eee31e42159e909b Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'packages/policy-clamp-docker/src/main/docker/AcmRuntimeDockerfile')
-rw-r--r--packages/policy-clamp-docker/src/main/docker/AcmRuntimeDockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/policy-clamp-docker/src/main/docker/AcmRuntimeDockerfile b/packages/policy-clamp-docker/src/main/docker/AcmRuntimeDockerfile
index b5b6de32f..b4dad4e43 100644
--- a/packages/policy-clamp-docker/src/main/docker/AcmRuntimeDockerfile
+++ b/packages/policy-clamp-docker/src/main/docker/AcmRuntimeDockerfile
@@ -40,7 +40,7 @@ RUN tar xvfz /packages/policy-clamp-runtime-acm.tar.gz --directory $POLICY_HOME
WORKDIR $POLICY_HOME
COPY acm-runtime.sh bin/.
-COPY /maven/app.jar /app
+COPY /maven/policy-clamp-runtime-acm.jar /app/app.jar
RUN chown -R policy:policy * && \
chmod 755 bin/*.sh && \