diff options
author | MukeshKumar <mukeshsharma@est.tech> | 2021-10-04 09:26:39 +0100 |
---|---|---|
committer | Mukesh <mukeshsharma@est.tech> | 2021-10-04 09:41:12 +0100 |
commit | e5409f142f141305e7f2052507ecb93584e46f5d (patch) | |
tree | 150ebb067333942e5a888688482809bdd00f697d | |
parent | f6df60ad420d9877ecd6f0338549848ab1a0e001 (diff) |
Fixing file permission issue
Issue-ID: SO-3769
Signed-off-by: Mukesh <mukeshsharma@est.tech>
Change-Id: I4715de0685239746e46d2e7a11fcd02d024845eb
-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"] |