summaryrefslogtreecommitdiffstats
path: root/auth/docker/Dockerfile.client
diff options
context:
space:
mode:
Diffstat (limited to 'auth/docker/Dockerfile.client')
-rw-r--r--auth/docker/Dockerfile.client6
1 files changed, 3 insertions, 3 deletions
diff --git a/auth/docker/Dockerfile.client b/auth/docker/Dockerfile.client
index d0c20578..111c3774 100644
--- a/auth/docker/Dockerfile.client
+++ b/auth/docker/Dockerfile.client
@@ -25,12 +25,12 @@ ENV VERSION=${AAF_VERSION}
LABEL description="aaf_agent"
LABEL version=${AAF_VERSION}
-COPY logs /opt/app/aaf_config/logs
COPY bin/client.sh /opt/app/aaf_config/bin/agent.sh
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 logs /opt/app/aaf_config/logs
COPY cert/*trust*.b64 /opt/app/aaf_config/cert/
-RUN chown -R ${USER}:${USER} /opt/app/aaf_config
+RUN if [ -n "${DUSER}" ]; then chown -R ${DUSER}:${DUSER} /opt/app/aaf_config; fi
-CMD ["/bin/bash","-c","/opt/app/aaf_config/bin/agent.sh"]
+CMD []