X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=auth%2Fdocker%2FDockerfile.client;h=e50810fec21fc329e0e00fb42cbc7459c40a1849;hb=628b7105ce4d9818aac69a082e515f9275fd46fd;hp=c2e1d78787af4ec932862b39d767a23f4dbe2024;hpb=12414fe43077e12d7ef711951b1633ad31d73573;p=aaf%2Fauthz.git diff --git a/auth/docker/Dockerfile.client b/auth/docker/Dockerfile.client index c2e1d787..e50810fe 100644 --- a/auth/docker/Dockerfile.client +++ b/auth/docker/Dockerfile.client @@ -31,4 +31,6 @@ COPY bin/aaf-auth-cmd-${AAF_VERSION}-full.jar /opt/app/aaf_config/bin/ COPY bin/aaf-cadi-servlet-sample-*-sample.jar /opt/app/aaf_config/bin/ COPY cert/*trust*.b64 /opt/app/aaf_config/cert/ -CMD ["/bin/bash","-c","/opt/app/aaf_config/bin/agent.sh"] +RUN if [ -n "${DUSER}" ]; then chown -R ${DUSER}:${DUSER} /opt/app/aaf_config; fi + +CMD []