Skip to content
Permalink
3b2d3fcc7c
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
0 contributors

Users who have contributed to this file

46 lines (35 sloc) 1.23 KB
FROM bigfleet/shibboleth_sp
# Define args and set a default value
ARG maintainer=tier
ARG imagename=grouper
ARG version=2.3.0
MAINTAINER $maintainer
LABEL Vendor="Internet2"
LABEL ImageType="Base"
LABEL ImageName=$imagename
LABEL ImageOS=centos7
LABEL Version=$version
ENV VERSION=$version
ENV TOMCAT_VERSION="6.0.35"
ENV WAIT_TIME=60
LABEL Build docker build --rm --tag $maintainer/$imagename .
COPY MariaDB.repo /etc/yum.repos.d/MariaDB.repo
RUN mkdir -p /opt/grouper/$VERSION \
&& curl -o /opt/grouper/$VERSION/grouperInstaller.jar http://software.internet2.edu/grouper/release/$VERSION/grouperInstaller.jar \
&& yum -y update \
&& yum -y install --setopt=tsflags=nodocs \
dos2unix \
java-1.8.0-openjdk \
java-1.8.0-openjdk-devel \
MariaDB-client \
mlocate \
&& yum clean all
# Add starters and installers
ADD ./container_files /opt
COPY grouper.installer.properties /opt/grouper/$version
# The installer creates a HSQL DB which we ignore later
WORKDIR /opt/grouper/$version
RUN java -cp :grouperInstaller.jar edu.internet2.middleware.grouperInstaller.GrouperInstaller
VOLUME /opt/grouper/2.3.0/apache-tomcat-$TOMCAT_VERSION/logs
EXPOSE 8080 8009 8005
CMD ["/opt/bin/start.sh"]