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.base3
1 files changed, 2 insertions, 1 deletions
diff --git a/auth/docker/Dockerfile.base b/auth/docker/Dockerfile.base
index 879c3191..af29b951 100644
--- a/auth/docker/Dockerfile.base
+++ b/auth/docker/Dockerfile.base
@@ -23,5 +23,6 @@ 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 apk add --no-cache curl
+RUN if [ -n "${DUSER}" ]; then addgroup ${DUSER} && adduser ${DUSER} -G ${DUSER} -D -s /bin/bash; fi