Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
upgrade to grouper 2.5.28
mchyzer committed May 16, 2020
1 parent 5f9bb5e commit e5ce397
Showing 3 changed files with 14 additions and 7 deletions.
7 changes: 6 additions & 1 deletion base/Dockerfile
@@ -1,7 +1,7 @@
FROM tier/shib-idp:3.4.3_20190201 as idp

# Grouper version for the entire GTE
FROM i2incommon/grouper:2.5.27
FROM i2incommon/grouper:2.5.28

# Disable docker HEALTHCHECK inherited from tier/shib-sp
HEALTHCHECK NONE
@@ -84,6 +84,11 @@ RUN chown -R tomcat /opt/shibboleth-idp/ \
&& chmod +rx /var/www/html/app/index.py \
&& /opt/shibboleth-idp/bin/build.sh

RUN chown -R tomcat:tomcat /opt/grouper/grouperWebapp
RUN chown -R tomcat:tomcat /opt/tomee

ENV GROUPER_START_DELAY_SECONDS=10

EXPOSE 389 3306 4443

CMD ["grouper"]
3 changes: 2 additions & 1 deletion base/container_files/tier-support/supervisord-training.conf
@@ -33,7 +33,8 @@ priority=15

[program:tomcat]
user=tomcat
command=bash -c "while ! curl -s localhost:3306 > /dev/null; do echo waiting for mysql to start; sleep 3; done; while ! curl -s ldap://localhost:389 > /dev/null; do echo waiting for ldap to start; sleep 3; done; exec /opt/tomee/bin/catalina.sh run"
#command=bash -c "while ! curl -s localhost:3306 > /dev/null; do echo waiting for mysql to start; sleep 3; done; while ! curl -s ldap://localhost:389 > /dev/null; do echo waiting for ldap to start; sleep 3; done; exec /opt/tomee/bin/catalina.sh run"
command=/opt/tomee/bin/catalina.sh run
stderr_logfile = /tmp/logtomcat
stderr_logfile_maxbytes=0
stdout_logfile = /tmp/logtomcat
11 changes: 6 additions & 5 deletions base/container_files/usr-local-bin/grouper
@@ -1,12 +1,13 @@
#!/bin/bash

. /usr/local/bin/library.sh
prep_conf

prepDaemon
prepUI
prepWS

finishPrep
prep_ui
prep_daemon
prep_ws
prep_finish
setupFiles

exec /usr/bin/supervisord -c /opt/tier-support/supervisord-training.conf

0 comments on commit e5ce397

Please sign in to comment.