summaryrefslogtreecommitdiffstats
path: root/auth/docker/Dockerfile.hello
diff options
context:
space:
mode:
authorInstrumental <jonathan.gathman@att.com>2019-04-17 14:30:28 -0500
committerInstrumental <jonathan.gathman@att.com>2019-04-17 14:30:34 -0500
commitfea400a6e11a41e39911927edf37938b5d13f181 (patch)
tree7119747597fc2c527235876baac29ea12f89d81e /auth/docker/Dockerfile.hello
parent66424b306877435b7e71e119a8d1498b4b263719 (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.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 []