remove the creation of aaiadmin user 53/54653/1
authorRogers, Reneal(rr267j) <rr267j@att.com>
Wed, 13 Jun 2018 15:31:41 +0000 (11:31 -0400)
committerrenealr <reneal.rogers@amdocs.com>
Wed, 13 Jun 2018 15:44:31 +0000 (11:44 -0400)
Remove the creation of the aaiadmin user in the docker container

Issue-ID: AAI-1226
Change-Id: I6841b2aab5102cb8968eec74219f3d00dc93f88b
Signed-off-by: renealr <reneal.rogers@amdocs.com>
src/main/docker/Dockerfile

index 27073a5..8578ef6 100644 (file)
@@ -22,15 +22,6 @@ COPY bundleconfig-local/etc/logback.xml $MICRO_HOME/bundleconfig/etc
 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
-RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
-RUN sudo usermod -a -G sudo aaiadmin
-USER aaiadmin
-
 EXPOSE 9509 9509
 
 CMD ["/opt/app/search-data-service/bin/start.sh"]