Skip to content

2.0.5 #25

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
34 changes: 16 additions & 18 deletions Dockerfile
@@ -1,37 +1,35 @@
FROM alpine:3.7 as bootstrap
FROM rockylinux/rockylinux:8.10

ARG version=1.18.0
ARG version=2.0.5

COPY bootstrapfiles/shibui-${version}.war.sha256sum .

RUN wget https://github.internet2.edu/TIER/shib-idp-ui/releases/download/v${version}/shibui-${version}.war \
&& sha256sum -c shibui-${version}.war.sha256sum && mv shibui-${version}.war shibui.war
#RUN yum -q -qy update \
# && yum -qy install --setopt=tsflags=nodocs epel-release \
# && yum -qy install curl cronie supervisor \
# && yum clean all \
# && rm -rf /var/cache/yum
RUN yum -qy install --setopt=tsflags=nodocs epel-release \
&& yum install -qy curl supervisor wget

FROM centos:7
RUN mkdir -p /opt/shibui
RUN wget https://github.internet2.edu/TIER/shib-idp-ui/releases/download/v${version}/shibui-${version}.war
RUN sha256sum -c shibui-${version}.war.sha256sum && mv shibui-${version}.war /opt/shibui/shibui.war

# beacon env
ENV TIERVERSION=PACKAGE_1.18.0
ENV TIERVERSION=MCM_2.0.5

# Install Corretto Java JDK
#Corretto download page: https://docs.aws.amazon.com/corretto/latest/corretto-11-ug/downloads-list.html
ARG CORRETTO_URL_PERM=https://corretto.aws/downloads/latest/amazon-corretto-11-x64-linux-jdk.rpm
ARG CORRETTO_RPM=amazon-corretto-11-x64-linux-jdk.rpm
ARG CORRETTO_URL_PERM=https://corretto.aws/downloads/latest/amazon-corretto-17-x64-linux-jdk.rpm
ARG CORRETTO_RPM=amazon-corretto-17-x64-linux-jdk.rpm
COPY containerfiles/corretto-signing-key.pub .
RUN curl -O -L $CORRETTO_URL_PERM \
&& rpm --import corretto-signing-key.pub \
&& rpm -K $CORRETTO_RPM \
&& rpm -i $CORRETTO_RPM \
&& rm -r corretto-signing-key.pub $CORRETTO_RPM
ENV JAVA_HOME=/usr/lib/jvm/java-1.11.0-amazon-corretto

RUN yum -q -qy update \
&& yum -qy install --setopt=tsflags=nodocs epel-release \
&& yum -qy install curl cronie supervisor \
&& yum clean all \
&& rm -rf /var/cache/yum

RUN mkdir -p /opt/shibui
COPY --from=bootstrap shibui.war /opt/shibui/
ENV JAVA_HOME=/usr/lib/jvm/java-1.17.0-amazon-corretto

COPY containerfiles/supervisord.conf /etc/supervisor/supervisord.conf
COPY containerfiles/users.txt /opt/shibui
Expand Down
1 change: 1 addition & 0 deletions bootstrapfiles/shibui-2.0.0.war.sha256sum
@@ -0,0 +1 @@
ce537fe9ab834d6efafe6be3413a98a2ec4cafb5634634f71b01f9c86fd29ebf shibui-2.0.0.war
1 change: 1 addition & 0 deletions bootstrapfiles/shibui-2.0.1.war.sha256sum
@@ -0,0 +1 @@
506003514a20c33db7654c17389f0fc7ff3e1e6a4192980761b17a4f24a6f38c shibui-2.0.1.war
1 change: 1 addition & 0 deletions bootstrapfiles/shibui-2.0.4.war.sha256sum
@@ -0,0 +1 @@
308dbceb044978d5c8989a9bfa9c83a30e52b4113756ce8b32f50622e66b8a79 shibui-2.0.4.war
1 change: 1 addition & 0 deletions bootstrapfiles/shibui-2.0.5.war.sha256sum
@@ -0,0 +1 @@
006a6da1afb958bc572115e63e31cc0b0bae2eb80d1a33d9862277cfcad6daba shibui-2.0.5.war