summaryrefslogtreecommitdiffstats
path: root/auth/docker/Dockerfile.base
diff options
context:
space:
mode:
Diffstat (limited to 'auth/docker/Dockerfile.base')
-rw-r--r--auth/docker/Dockerfile.base2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth/docker/Dockerfile.base b/auth/docker/Dockerfile.base
index 879c3191..f76a3555 100644
--- a/auth/docker/Dockerfile.base
+++ b/auth/docker/Dockerfile.base
@@ -23,5 +23,5 @@ MAINTAINER AAF Team, AT&T 2018
LABEL description="aaf_base"
RUN apk add --no-cache bash
RUN apk add --no-cache openssl
-RUN addgroup ${USER} && adduser ${USER} -G ${USER} -D -s /bin/bash
+RUN if [ -n "${DUSER}" ]; then addgroup ${DUSER} && adduser ${DUSER} -G ${DUSER} -D -s /bin/bash; fi