From fea400a6e11a41e39911927edf37938b5d13f181 Mon Sep 17 00:00:00 2001 From: Instrumental Date: Wed, 17 Apr 2019 14:30:28 -0500 Subject: Make OOM workable with Dublin Issue-ID: AAF-809 Change-Id: I7c2c221e69a87f3bdf6dbf37fc93c1a14a055686 Signed-off-by: Instrumental --- auth/docker/Dockerfile.hello | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'auth/docker/Dockerfile.hello') 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 [] -- cgit 1.2.3-korg