aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/docker
diff options
context:
space:
mode:
authorDaniel Silverthorn <daniel.silverthorn@amdocs.com>2018-05-25 08:46:18 -0400
committerDaniel Silverthorn <daniel.silverthorn@amdocs.com>2018-05-25 08:48:37 -0400
commitff391a8d867a763858ac662dd61f06a3a15c63ba (patch)
tree9793321f1d66508de02a90d2fdbe4c3709d05182 /src/main/docker
parent5958a5172e6fcf44d272a473c415bcaf4def8b81 (diff)
Make babel run as root
Change-Id: I14a0e96ab0b1c4b4c04b8050ea853e74d31e94ce Issue-ID: AAI-1179 Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
Diffstat (limited to 'src/main/docker')
-rw-r--r--src/main/docker/Dockerfile9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/main/docker/Dockerfile b/src/main/docker/Dockerfile
index bd5d445..70088ae 100644
--- a/src/main/docker/Dockerfile
+++ b/src/main/docker/Dockerfile
@@ -22,11 +22,4 @@ COPY *.sh $BIN_HOME
RUN chmod 755 $BIN_HOME/*
RUN ln -s /logs $MICRO_HOME/logs
-# Create the aai user
-RUN mkdir /opt/aaihome && \
- groupadd -g 492381 aaiadmin && \
- useradd -r -u 341790 -g 492381 -ms /bin/bash -d /opt/aaihome/aaiadmin aaiadmin && \
- chown -R aaiadmin:aaiadmin $MICRO_HOME
-USER aaiadmin
-
-CMD ["/opt/app/babel/bin/start.sh"] \ No newline at end of file
+CMD ["/opt/app/babel/bin/start.sh"]