Batch work and client
[aaf/authz.git] / auth / docker / Dockerfile.core
index 3e87ca5..f74e9fb 100644 (file)
@@ -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