Skip to content

Commit

Permalink
add grouper bootstrap script
Browse files Browse the repository at this point in the history
  • Loading branch information
chubing committed Dec 10, 2020
1 parent d8b2f9d commit 4e8f0d7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Workbench/grouper_data/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ RUN yum install -y epel-release \
&& rm -rf /var/cache/yum

COPY container_files/conf/ /opt/grouper/grouperWebapp/WEB-INF/classes/
COPY container_files/bootstrap/ /tmp/

RUN ln -s /usr/bin/resolveip /usr/libexec/resolveip

Expand All @@ -29,7 +30,8 @@ RUN mysql_install_db \

RUN (mysqld_safe & ) \
&& while ! curl -s localhost:3306 > /dev/null; do echo waiting for mysqld to start; sleep 1; done; \
/opt/grouper/grouperWebapp/WEB-INF/bin/gsh.sh -registry -check -runscript -noprompt
/opt/grouper/grouperWebapp/WEB-INF/bin/gsh.sh -registry -check -runscript -noprompt && \
/opt/grouper/grouperWebapp/WEB-INF/bin/gsh.sh /tmp/initialize.sh

EXPOSE 3306

Expand Down

0 comments on commit 4e8f0d7

Please sign in to comment.