diff options
Diffstat (limited to 'auth/docker/Dockerfile.config')
-rw-r--r-- | auth/docker/Dockerfile.config | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/auth/docker/Dockerfile.config b/auth/docker/Dockerfile.config index 27b2ffff..7b159d7c 100644 --- a/auth/docker/Dockerfile.config +++ b/auth/docker/Dockerfile.config @@ -32,11 +32,12 @@ COPY cert /opt/app/aaf_config/cert COPY public /opt/app/aaf_config/public COPY CA /opt/app/aaf_config/CA COPY bin/service.sh /opt/app/aaf_config/bin/agent.sh -COPY bin/pod_wait.sh /opt/app/aaf_config/bin/ +COPY bin/pod_wait.sh /opt/app/aaf_config/bin/pod_wait.sh COPY bin/aaf-auth-cmd-${AAF_VERSION}-full.jar /opt/app/aaf_config/bin/ COPY bin/aaf-auth-batch-${AAF_VERSION}-full.jar /opt/app/aaf_config/bin/ -RUN mkdir -p /opt/app/osaaf -RUN if [ -n "${DUSER}" ]; then chown ${DUSER}:${DUSER} /opt/app/osaaf && chown -R ${DUSER}:${DUSER} /opt/app/aaf_config; fi +RUN mkdir -p /opt/app/osaaf &&\ + chmod 755 /opt/app/aaf_config/bin/*.sh &&\ + if [ -n "${DUSER}" ]; then chown ${DUSER}:${DUSER} /opt/app/osaaf && chown -R ${DUSER}:${DUSER} /opt/app/aaf_config; fi CMD ["/bin/bash","/opt/app/aaf_config/bin/agent.sh"] |