diff options
author | Rogers, Reneal(rr267j) <rr267j@att.com> | 2018-06-13 11:31:41 -0400 |
---|---|---|
committer | renealr <reneal.rogers@amdocs.com> | 2018-06-13 11:44:31 -0400 |
commit | 77ce5bb14520c262f27995da98e13f64fb9912f5 (patch) | |
tree | fd5be5554707501f0835ceba264969cc08a9f582 | |
parent | 34aa4984446aeb39b64930baf64058ea22ec9da0 (diff) |
remove the creation of aaiadmin user
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>
-rw-r--r-- | src/main/docker/Dockerfile | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/main/docker/Dockerfile b/src/main/docker/Dockerfile index 27073a5..8578ef6 100644 --- a/src/main/docker/Dockerfile +++ b/src/main/docker/Dockerfile @@ -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"] |