summaryrefslogtreecommitdiffstats
path: root/auth/docker/Dockerfile.ms
diff options
context:
space:
mode:
authorInstrumental <jonathan.gathman@att.com>2019-02-07 16:36:56 -0600
committerInstrumental <jonathan.gathman@att.com>2019-02-07 16:37:00 -0600
commit27afb0201ce717c25d8ffcc50f8b4972fc98f5c5 (patch)
treefcc70c64abc1b5741f92b65b354ea009f5fc4175 /auth/docker/Dockerfile.ms
parente2fa0e67712b92c69f6863afe10c1c973a068e3e (diff)
Refine properties for non-root
Issue-ID: AAF-698 Change-Id: I266f0e36842fb506dbb3e412e12eedf64e24418a Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'auth/docker/Dockerfile.ms')
-rw-r--r--auth/docker/Dockerfile.ms4
1 files changed, 3 insertions, 1 deletions
diff --git a/auth/docker/Dockerfile.ms b/auth/docker/Dockerfile.ms
index 222816c6..d5614316 100644
--- a/auth/docker/Dockerfile.ms
+++ b/auth/docker/Dockerfile.ms
@@ -25,7 +25,9 @@ LABEL description="aaf_${AAF_COMPONENT}"
LABEL version=${AAF_VERSION}
COPY bin/pod_wait.sh /opt/app/aaf/bin/
-RUN mkdir /opt/app/osaaf && chown aaf:aaf /opt/app/osaaf && chown -R aaf:aaf /opt/app/aaf/bin
+RUN mkdir -p /opt/app/osaaf && chown ${USER}:${USER} /opt/app/osaaf
+RUN mkdir -p /opt/app/aaf/status && chown ${USER}:${USER} /opt/app/aaf/status
+RUN chown -R ${USER}:${USER} /opt/app/aaf
#CMD ["bash","-c","cd /opt/app/aaf;bin/${AAF_COMPONENT}"]
CMD []