From f04d4a82ebe78313f6c4f1c8320b3e2e68b6340e Mon Sep 17 00:00:00 2001 From: "waqas.ikram" Date: Wed, 8 Sep 2021 10:15:17 +0100 Subject: Updating camunda-bpm-platform image version to enable EnvironmentPropertySource feature that uses environment variables to resolve expressions in server.xml Change-Id: I4fb178a78c438246b91095999ca3d155bfb58197 Issue-ID: SO-3674 Signed-off-by: waqas.ikram --- .../docker/src/main/docker/docker-files/Dockerfile.so-bpmn-infra | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/docker/src/main/docker/docker-files/Dockerfile.so-bpmn-infra b/packages/docker/src/main/docker/docker-files/Dockerfile.so-bpmn-infra index d317cac0da..e618ff15f5 100644 --- a/packages/docker/src/main/docker/docker-files/Dockerfile.so-bpmn-infra +++ b/packages/docker/src/main/docker/docker-files/Dockerfile.so-bpmn-infra @@ -1,10 +1,9 @@ -FROM camunda/camunda-bpm-platform:7.12.0 - +FROM camunda/camunda-bpm-platform:7.15.0 ARG user=so ARG group=so -RUN sed -i 's/port="8080"/port="8081"/' /camunda/conf/server.xml +RUN echo "org.apache.tomcat.util.digester.PROPERTY_SOURCE=org.apache.tomcat.util.digester.EnvironmentPropertySource" >> /camunda/conf/catalina.properties RUN rm -r /camunda/webapps/examples /camunda/webapps/docs /camunda/webapps/camunda-invoice @@ -12,7 +11,6 @@ USER root COPY ca-certificates/onap-ca.crt /usr/local/share/ca-certificates/onap-ca.crt RUN update-ca-certificates --fresh - RUN addgroup $group && adduser --system --disabled-password --no-create-home --ingroup $group $user && \ chown -R $user:$group /camunda && \ chmod -R u+rw /camunda -- cgit 1.2.3-korg