summaryrefslogtreecommitdiffstats
path: root/auth/docker/Dockerfile.config
diff options
context:
space:
mode:
authorChrisC <christophe.closset@intl.att.com>2020-03-17 14:23:42 +0100
committerChrisC <christophe.closset@intl.att.com>2020-03-24 13:37:37 +0100
commit48bcfb9d4b03ac3e2e6915f7bdf72599c8794d43 (patch)
treef0d2d8d6946ea76d6f54533538dff131c8a70cef /auth/docker/Dockerfile.config
parent083a7eb21620467ae1f7d5ba9341e12f75f9cc41 (diff)
AAF non-root
update AAF service dockerfiles to run as user AAF, reusing existing script infra Issue-ID: AAF-1102 Signed-off-by: ChrisC <christophe.closset@intl.att.com>, JulienBe <jb3179x@att.com> Change-Id: I2d9feef65a98d4545e407825533cd1741f891b45
Diffstat (limited to 'auth/docker/Dockerfile.config')
-rw-r--r--auth/docker/Dockerfile.config2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth/docker/Dockerfile.config b/auth/docker/Dockerfile.config
index 4bb7a940..b2263ecc 100644
--- a/auth/docker/Dockerfile.config
+++ b/auth/docker/Dockerfile.config
@@ -39,5 +39,5 @@ COPY bin/aaf-auth-batch-${JAR_VERSION}-full.jar /opt/app/aaf_config/bin/
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
-
+USER ${DUSER}
CMD ["/bin/bash","/opt/app/aaf_config/bin/agent.sh"]