Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
eduPersonEntitlement default to group name, not extension; finish 201…
….end and 401.end
- Loading branch information
Showing
8 changed files
with
686 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
ARG VERSION_TAG | ||
FROM tier/gte:201.end-$VERSION_TAG | ||
|
||
LABEL author="tier-packaging@internet2.edu <tier-packaging@internet2.edu>" \ | ||
Vendor="TIER" \ | ||
ImageType="Grouper Training" \ | ||
ImageName=$imagename \ | ||
ImageOS=centos7 | ||
|
||
ENV USERTOKEN=gte-401.1.end | ||
|
||
COPY container_files/seed-data/ /seed-data/ | ||
|
||
# won't work if no files in here, since the folder won't be in git. Uncomment only if there are any property files to override | ||
#COPY container_files/conf/ /opt/grouper/grouperWebapp/WEB-INF/classes/ | ||
|
||
# && setupFiles | ||
RUN . /usr/local/bin/library.sh \ | ||
&& prep_conf && prep_finish; \ | ||
(/usr/sbin/slapd -h "ldap:/// ldaps:/// ldapi:///" -u ldap &) \ | ||
&& while ! curl -s ldap://localhost:389 > /dev/null; do echo waiting for ldap to start; sleep 1; done; \ | ||
(mysqld_safe & ) \ | ||
&& while ! curl -s localhost:3306 > /dev/null; do echo waiting for mysqld to start; sleep 3; done; \ | ||
cd /opt/grouper/grouperWebapp/WEB-INF \ | ||
&& ldapadd -x -D cn=root,dc=internet2,dc=edu -w password -f /seed-data/users.ldif \ | ||
&& mysql grouper < /seed-data/sisData.sql \ | ||
&& cp -r /opt/grouper/grouperWebapp/WEB-INF/libUiAndDaemon/* /opt/grouper/grouperWebapp/WEB-INF/lib/ \ | ||
&& if [ ! -f /usr/local/bin/java ]; then ln -s /usr/lib/jvm/java-1.8.0-amazon-corretto/bin/java /usr/local/bin/java; fi \ | ||
&& sudo --preserve-env=PATH -u tomcat bin/gsh.sh /seed-data/bootstrap.gsh \ | ||
&& pkill -HUP slapd \ | ||
&& while curl -s ldap://localhost:389 > /dev/null; do echo waiting for ldap to stop; sleep 1; done; \ | ||
pkill -u mysql mysqld \ | ||
&& while curl -s localhost:3306 > /dev/null; do echo waiting for mysqld to stop; sleep 1; done |
Oops, something went wrong.