Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
FROM tier/grouper-web-base:2.3.0
MAINTAINER tier-packaging@internet2.edu <tier-packaging@internet2.edu>
##tomcat
##ENV TOMCAT_MAJOR=8
##ENV TOMCAT_VERSION="8.5.24"
##ant
ENV ANT_VERSION="1.10.1"
COPY patch-scripts/ /opt/patch-scripts/
COPY grouper-ui/ /opt/grouper.ui-$GROUPER_VERSION/
RUN yum update -y \
&& yum install -y wget tar \
&& yum clean all \
\
&& echo 'Downloading grouper UI...' \
&& wget -q http://software.internet2.edu/grouper/release/$GROUPER_VERSION/grouper.ui-$GROUPER_VERSION.tar.gz \
&& tar -zxf grouper.ui-$GROUPER_VERSION.tar.gz --skip-old-files -C /opt \
\
&& cd /opt/grouper.ui-$GROUPER_VERSION \
&& /opt/apache-ant-$ANT_VERSION/bin/ant war \
&& cp dist/grouper.war /opt/apache-tomcat-$TOMCAT_VERSION/webapps \
\
&& mkdir /opt/apache-tomcat-$TOMCAT_VERSION/webapps/grouper/ \
&& cd /opt/apache-tomcat-$TOMCAT_VERSION/webapps/grouper \
&& $JAVA_HOME/bin/jar xvf ../grouper.war \
&& rm ../grouper.war \
\
&& echo 'Patching Grouper UI...'\
&& mkdir /tmp/grp-ui/ \
&& cp /opt/grouper.apiBinary-$GROUPER_VERSION/grouperPatchStatus.properties /opt/apache-tomcat-$TOMCAT_VERSION/webapps/grouper/WEB-INF/ \
&& cd / \
&& cp /opt/patch-scripts/grouper.installer-ui.properties /grouper.installer.properties \
&& $JAVA_HOME/bin/java -cp .:/opt/grouperInstaller.jar edu.internet2.middleware.grouperInstaller.GrouperInstaller \
\
&& rm -rf grouper.ui-$GROUPER_VERSION.tar.gz /tmp/grp-ui/ /grouper.installer.properties