Skip to content
Permalink
Browse files

Update to 3.0.4.0

  • Loading branch information
pcaskey committed Mar 12, 2019
1 parent 0bd21bf commit 678743bc697cbdd7ee91e7a5ce1c7f1644f0d8e1
Showing with 2 additions and 2 deletions.
  1. +2 −2 Dockerfile
@@ -1,11 +1,11 @@
FROM microsoft/iis

ENV SP_VERSION=3.0.3.0
ENV SP_VERSION=3.0.4.0
RUN powershell [Environment]::SetEnvironmentVariable('SP_VERSION','%SP_VERSION%', [System.EnvironmentVariableTarget]::Machine )

#install shibb sp
RUN powershell (new-object System.Net.WebClient).Downloadfile('https://shibboleth.net/downloads/service-provider/latest/win64/shibboleth-sp-%SP_VERSION%-win64.msi', 'C:\shibboleth-sp-%SP_VERSION%-win64.msi')
RUN powershell If ((Get-FileHash C:\shibboleth-sp-%SP_VERSION%-win64.msi -Algorithm SHA1).Hash.ToLower() -eq '7e185c286ad81ce0b3c27210070ce74998eaf933') { ` \
RUN powershell If ((Get-FileHash C:\shibboleth-sp-%SP_VERSION%-win64.msi -Algorithm SHA1).Hash.ToLower() -eq '76e8899b6aa353290c1483f62ff3bf6753919c2c') { ` \
start-process -filepath c:\windows\system32\msiexec.exe -passthru -wait -argumentlist '/i','C:\shibboleth-sp-%SP_VERSION%-win64.msi','/qn' ` \
} Else { throw 'bad hash comparison on SP download' }
RUN del C:\shibboleth-sp-%SP_VERSION%-win64.msi

0 comments on commit 678743b

Please sign in to comment.
You can’t perform that action at this time.