diff --git a/Dockerfile b/Dockerfile index f875381..e26ea2e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -63,6 +63,7 @@ RUN mklink c:\Tomcat\webapps\idp.war c:\opt\shibboleth-idp\war\idp.war #copy TIER beacon script RUN mkdir c:\util +RUN mkdir c:\opt\certs COPY sendtierbeacon.ps1 c:\\util #schedule script to run (at random time) #RUN powershell ($tm=((Get-Random -Minimum 0 -Maximum 4) -as [string]) + ":" + ((Get-Random -Minimum 0 -Maximum 60) -as [string]) ; start-process -filepath schtasks -passthru -wait -argumentlist '/create','/tn','\"Send TIER Beacon\"','/tr','c:\util\sendtierbeacon.ps1','/sc','DAILY','/st',"$tm"