summaryrefslogtreecommitdiffstats
path: root/auth/docker/Dockerfile.config
diff options
context:
space:
mode:
authorSai Gandham <sai.gandham@att.com>2019-04-17 19:42:30 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-17 19:42:30 +0000
commit5c01796be69ed71c360dade8a080a4fd22c06447 (patch)
treedd4ca9d606f2cb8d6c16440b984f4b01585c2ffc /auth/docker/Dockerfile.config
parent22d821ef35b5ddaf76937ab6a4fe82b088a50a26 (diff)
parentfea400a6e11a41e39911927edf37938b5d13f181 (diff)
Merge "Make OOM workable with Dublin"2.1.11
Diffstat (limited to 'auth/docker/Dockerfile.config')
-rw-r--r--auth/docker/Dockerfile.config7
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"]