Skip to content

Commit

Permalink
Merge pull request #57 from docker/180502
Browse files Browse the repository at this point in the history
bump IdP version
  • Loading branch information
pcaskey authored May 16, 2018
2 parents 4eb94d0 + 310fcb3 commit 769ccb7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 18 deletions.
32 changes: 15 additions & 17 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,33 +8,31 @@ FROM centos:centos7
ENV JAVA_VERSION=8u171 \
BUILD_VERSION=b11 \
JAVA_BUNDLE_ID=512cd62ec5174c3487ac17c61aaa89e8 \
##tomcat
##tomcat \
TOMCAT_MAJOR=8 \
TOMCAT_VERSION=8.5.31 \
##shib-idp
VERSION=3.3.2 \
##TIER
TIERVERSION=180501 \

##################
### OTHER VARS ###
##################
#
#global
##shib-idp \
VERSION=3.3.3 \
##TIER \
TIERVERSION=180502 \
################## \
### OTHER VARS ### \
################## \
# \
#global \
IMAGENAME=shibboleth_idp \
MAINTAINER=tier \
#java
#java \
JAVA_HOME=/usr/java/latest \
JAVA_OPTS=-Xmx3000m -XX:MaxPermSize=256m \
#tomcat
#tomcat \
CATALINA_HOME=/usr/local/tomcat
ENV TOMCAT_TGZ_URL=https://www.apache.org/dist/tomcat/tomcat-$TOMCAT_MAJOR/v$TOMCAT_VERSION/bin/apache-tomcat-$TOMCAT_VERSION.tar.gz \
PATH=$CATALINA_HOME/bin:$JAVA_HOME/bin:$PATH \
#shib-idp
#shib-idp \
SHIB_RELDIR=http://shibboleth.net/downloads/identity-provider/$VERSION \
SHIB_PREFIX=shibboleth-identity-provider-$VERSION


ENV ENV=dev \
USERTOKEN=nothing

Expand Down Expand Up @@ -108,14 +106,14 @@ RUN mkdir -p /tmp/shibboleth && cd /tmp/shibboleth && \
# Perform verifications
gpg --import PGP_KEYS && \
gpg $SHIB_PREFIX.tar.gz.asc && \
gpg --batch --verify $SHIB_PREFIX.tar.gz.asc $SHIB_PREFIX.tar.gz && \
gpg --batch --verify $SHIB_PREFIX.tar.gz.asc $SHIB_PREFIX.tar.gz && \
# Unzip
tar xf $SHIB_PREFIX.tar.gz && \
# Install
cd /tmp/shibboleth/$SHIB_PREFIX && \
./bin/install.sh \
-Didp.noprompt=true \
-Didp.property.file=/tmp/idp.installer.properties && \
-Didp.property.file=/tmp/idp.installer.properties && \
# Cleanup
cd ~ && \
rm -rf /tmp/shibboleth
Expand Down
2 changes: 1 addition & 1 deletion container_files/idp/idp.installer.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
idp.src.dir=/tmp/shibboleth/shibboleth-identity-provider-3.3.2
idp.src.dir=/tmp/shibboleth/shibboleth-identity-provider-3.3.3
idp.target.dir=/opt/shibboleth-idp
idp.host.name=idp.example.org
idp.sealer.password=changeit
Expand Down

0 comments on commit 769ccb7

Please sign in to comment.