summaryrefslogtreecommitdiffstats
path: root/auth/docker/Dockerfile.hello
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.hello
parent22d821ef35b5ddaf76937ab6a4fe82b088a50a26 (diff)
parentfea400a6e11a41e39911927edf37938b5d13f181 (diff)
Merge "Make OOM workable with Dublin"2.1.11
Diffstat (limited to 'auth/docker/Dockerfile.hello')
-rw-r--r--auth/docker/Dockerfile.hello9
1 files changed, 5 insertions, 4 deletions
diff --git a/auth/docker/Dockerfile.hello b/auth/docker/Dockerfile.hello
index 0d2a062c..2002822a 100644
--- a/auth/docker/Dockerfile.hello
+++ b/auth/docker/Dockerfile.hello
@@ -26,9 +26,10 @@ LABEL version=${AAF_VERSION}
COPY bin/pod_wait.sh /opt/app/aaf/bin/
COPY etc /opt/app/osaaf/etc
-RUN mkdir -p /opt/app/aaf/status
-RUN if [ -n "${DUSER}" ]; then chown ${DUSER}:${DUSER} /opt/app/aaf/status \
- && chown ${DUSER}:${DUSER} /opt/app/osaaf \
- && chown -R ${DUSER}:${DUSER} /opt/app/aaf; fi
+RUN mkdir -p /opt/app/aaf/status && chmod 755 /opt/app/aaf/bin/* &&\
+ if [ -n "${DUSER}" ]; then \
+ chown ${DUSER}:${DUSER} /opt/app/aaf/status &&\
+ chown ${DUSER}:${DUSER} /opt/app/osaaf &&\
+ chown -R ${DUSER}:${DUSER} /opt/app/aaf; fi
CMD []