summaryrefslogtreecommitdiffstats
path: root/auth/docker/Dockerfile.core
diff options
context:
space:
mode:
Diffstat (limited to 'auth/docker/Dockerfile.core')
-rw-r--r--auth/docker/Dockerfile.core2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth/docker/Dockerfile.core b/auth/docker/Dockerfile.core
index 3e87ca56..f74e9fbd 100644
--- a/auth/docker/Dockerfile.core
+++ b/auth/docker/Dockerfile.core
@@ -30,5 +30,5 @@ COPY lib /opt/app/aaf/lib
COPY bin /opt/app/aaf/bin
COPY theme /opt/app/aaf/theme
-RUN chown -R ${USER}:${USER} /opt/app/aaf
+RUN if [ -n "${DUSER}" ]; then chown -R ${DUSER}:${DUSER} /opt/app/aaf; fi