diff options
-rw-r--r-- | packages/docker/src/main/docker/docker-files/Dockerfile.so-bpmn-infra | 10 |
1 files changed, 6 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 aa4f776758..28502474d4 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 @@ -12,15 +12,17 @@ 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 + COPY configs/logging/logback-spring.xml /camunda COPY maven/mso.war /camunda/webapps COPY scripts/wait-for.sh /camunda COPY scripts/bpmn-script/start-camunda-app.sh /camunda COPY maven/mariadb-java-client.jar /camunda/lib -RUN addgroup $group && adduser --system --disabled-password --no-create-home --ingroup $group $user && \ - chown -R $user:$group /camunda && \ - chmod -R u+rw /camunda +RUN chown -R $user:$group /camunda +RUN chmod -R u+rw /camunda +RUN chmod +x /camunda/start-camunda-app.sh USER $user @@ -28,4 +30,4 @@ USER $user VOLUME /camunda/app/config WORKDIR /camunda -ENTRYPOINT ["/camunda/start-camunda-app.sh"]
\ No newline at end of file +ENTRYPOINT ["/camunda/start-camunda-app.sh"] |