aboutsummaryrefslogtreecommitdiffstats
path: root/champ-service
diff options
context:
space:
mode:
authorDaniel Silverthorn <daniel.silverthorn@amdocs.com>2018-05-24 15:36:21 -0400
committerDaniel Silverthorn <daniel.silverthorn@amdocs.com>2018-05-24 15:45:51 -0400
commiteee27dc7db3e0702be82fe9afb8ae515386b0a3e (patch)
treef0d515b715a72d896068c767a2379077f9fff962 /champ-service
parentfeedca76f44ea38f8a7b2a30429bcf2c65dee073 (diff)
Make champ run as root
Change-Id: I769540fd4982641e92fdcad87df91d532bbed565 Issue-ID: AAI-1175 Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
Diffstat (limited to 'champ-service')
-rw-r--r--champ-service/src/main/docker/Dockerfile7
1 files changed, 0 insertions, 7 deletions
diff --git a/champ-service/src/main/docker/Dockerfile b/champ-service/src/main/docker/Dockerfile
index 4d21a1e..9d31b19 100644
--- a/champ-service/src/main/docker/Dockerfile
+++ b/champ-service/src/main/docker/Dockerfile
@@ -22,13 +22,6 @@ 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
-
EXPOSE 9522 9522
CMD ["/opt/app/champ-service/bin/start.sh"]