Skip to content
Permalink
Browse files

added gdg folders, ref/basis groups, subjects

  • Loading branch information
wgthom committed Jun 10, 2019
1 parent dc80644 commit 31e9d88a027993fa7955dab0ee2a9298ae38c5fa
@@ -1,6 +1,5 @@
ARG VERSION_TAG
FROM tier/gte:base-$VERSION_TAG

FROM tier/gte:101.1.1-$VERSION_TAG

LABEL author="tier-packaging@internet2.edu <tier-packaging@internet2.edu>" \
Vendor="TIER" \
@@ -10,4 +9,17 @@ LABEL author="tier-packaging@internet2.edu <tier-packaging@internet2.edu>" \

ENV USERTOKEN=gte-211.1.1

# Nothing else needed for this exercise. Start empty and end empty
COPY container_files/seed-data/ /seed-data/

RUN (/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/grouper.apiBinary \
&& ldapadd -x -D cn=root,dc=internet2,dc=edu -w password -f /seed-data/users.ldif \
&& mysql grouper < /seed-data/sisData.sql \
&& bin/gsh /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
@@ -0,0 +1,3 @@
gs = GrouperSession.startRootSession();
delStem("101.1.1")
addRootStem("211.1.1", "211.1.1")
No changes.
No changes.
@@ -1,5 +1,5 @@
ARG VERSION_TAG
FROM tier/gte:base-$VERSION_TAG
FROM tier/gte:101.1.1-$VERSION_TAG

LABEL author="tier-packaging@internet2.edu <tier-packaging@internet2.edu>" \
Vendor="TIER" \
@@ -9,4 +9,17 @@ LABEL author="tier-packaging@internet2.edu <tier-packaging@internet2.edu>" \

ENV USERTOKEN=gte-301.4.1

# Nothing else needed for this exercise. Start empty and end empty
COPY container_files/seed-data/ /seed-data/

RUN (/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/grouper.apiBinary \
&& ldapadd -x -D cn=root,dc=internet2,dc=edu -w password -f /seed-data/users.ldif \
&& mysql grouper < /seed-data/sisData.sql \
&& bin/gsh /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
@@ -0,0 +1,3 @@
gs = GrouperSession.startRootSession();
delStem("101.1.1")
addRootStem("301.4.1", "301.4.1")
No changes.
No changes.

0 comments on commit 31e9d88

Please sign in to comment.
You can’t perform that action at this time.