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
executable file 49 lines (37 sloc) 1.92 KB
FROM alpine:3.7 as bootstrap
ARG version=1.5.0
COPY bootstrapfiles/shibui-${version}.jar.sha256sum .
RUN wget https://github.internet2.edu/TIER/shib-idp-ui/releases/download/v${version}/shibui-${version}.jar \
&& sha256sum -c shibui-${version}.jar.sha256sum && mv shibui-${version}.jar shibui.jar
FROM centos:7
# beacon env
ENV VERSION=${version} \
TIERVERSION=18xxxx \
IMAGE=shibboleth_idp_ui \
MAINTAINER=xxxx
COPY containerfiles/RPM-GPG-KEY-azulsystems .
RUN rpm --import RPM-GPG-KEY-azulsystems
RUN curl -o /etc/yum.repos.d/zulu.repo http://repos.azulsystems.com/rhel/zulu.repo
RUN yum -q -qy update \
&& yum -qy install --setopt=tsflags=nodocs epel-release \
&& yum -qy install zulu-11 curl cronie supervisor \
&& yum clean all \
&& rm -rf /var/cache/yum
RUN mkdir -p /opt/shibui
COPY --from=bootstrap shibui.jar /opt/shibui/
COPY containerfiles/supervisord.conf /etc/supervisor/supervisord.conf
COPY containerfiles/sendtierbeacon.sh /usr/bin
COPY containerfiles/setupcron.sh /usr/bin
RUN chmod +x /usr/bin/sendtierbeacon.sh \
&& mkdir /opt/tier \
&& chmod +x /usr/bin/setupcron.sh \
&& /usr/bin/setupcron.sh
# TIER Beacon Opt-out
# Completely uncomment the following ENV line to prevent the containers from sending analytics information to Internet2.
# With the default/release configuration, it will only send product (Shibb/Grouper/COmanage) and version (3.3.1-17040, etc)
# once daily between midnight and 4am. There is no configuration or private information collected or sent.
# This data helps with the scalaing and funding of TIER. Please do not disable it if you find the TIER tools useful.
# To keep it commented, keep multiple comments on the following line (to prevent other scripts from processing it).
##### ENV TIER_BEACON_OPT_OUT True
WORKDIR /opt/shibui
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/supervisord.conf"]