Shibboleth SP+IIS in Docker

Paul Caskey pcaskey at internet2.edu
Tue Jan 23 09:56:10 EST 2018


In case it helps any, this is how we install the IdP's MSI file on Docker for Windows:



RUN powershell (new-object System.Net.WebClient).Downloadfile('https://shibboleth.net/downloads/identity-provider/latest/shibboleth-identity-provider-%IDP_VERSION%-x64.msi', 'C:\shibboleth-identity-provider-%IDP_VERSION%-x64.msi')


RUN powershell If ((Get-FileHash C:\shibboleth-identity-provider-%IDP_VERSION%-x64.msi -Algorithm SHA1).Hash.ToLower() -eq 'fca024981da85a77c8389563d584230593f5d399') { ` \
		start-process -filepath c:\windows\system32\msiexec.exe -passthru -wait -argumentlist '/i','C:\shibboleth-identity-provider-%IDP_VERSION%-x64.msi','/qn','INSTALLDIR=c:\opt\shibboleth-idp','NO_FIREWALL_EXCEPTION=true','DNSNAME=shibboleth.example.org','IDP_SCOPE=example.org' ` \
       } Else { throw 'bad hash comparison on IdP download' }


RUN del C:\shibboleth-identity-provider-%IDP_VERSION%-x64.msi



> -----Original Message-----
> From: users [mailto:users-bounces at shibboleth.net] On Behalf Of
> Klingenstein, Nate
> Sent: Monday, January 22, 2018 6:10 PM
> To: Shib Users <users at shibboleth.net>
> Subject: RE: Shibboleth SP+IIS in Docker
> 
> I finally got a working Windows docker environment so I could test the
> Powershell suggested.  It bombs as well, but with a new non-zero code:
> 
> Step 5/6 : COPY software C:/software/
>  ---> 20478f09c5d5
> Step 6/6 : RUN powershell -Command start-process C:/software/shibboleth-
> sp-2.6.1.3-win64.msi -ArgumentList '/qn' -Wait  ---> Running in 122b321de419
> The command 'cmd /S /C powershell -Command start-process
> C:/software/shibboleth-sp-2.6.1.3-win64.msi -ArgumentList '/qn' -Wait'
> returned a non-zero code: 1073807364
> 
> So, phooey.
> --
> For Consortium Member technical support, see
> https://wiki.shibboleth.net/confluence/x/coFAAg
> To unsubscribe from this list send an email to users-
> unsubscribe at shibboleth.net


More information about the users mailing list