diff options
author | 2019-04-17 14:30:28 -0500 | |
---|---|---|
committer | 2019-04-17 14:30:34 -0500 | |
commit | fea400a6e11a41e39911927edf37938b5d13f181 (patch) | |
tree | 7119747597fc2c527235876baac29ea12f89d81e /auth/docker/Dockerfile.config | |
parent | 66424b306877435b7e71e119a8d1498b4b263719 (diff) |
Make OOM workable with Dublin
Issue-ID: AAF-809
Change-Id: I7c2c221e69a87f3bdf6dbf37fc93c1a14a055686
Signed-off-by: Instrumental <jonathan.gathman@att.com>
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"] |