FROM microsoft
/iis
ADD sxs
/sxs
RUN Dism
/online
/enable-feature
/featurename
:NetFX3
/All
/Source
:C:\sxs
/LimitAccess
&& del
/S
/Q
C:\sxs
RUN dism
/online
/enable-feature
/all
/featurename
:NetFx4
/featurename
:IIS-ApplicationInit
/featurename
:IIS-ASPNET45
/featurename
:IIS-ASPNET
/NoRestart
RUN powershell.exe -
command
Set-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Control\WMI\Autologger\EventLog-Application Start 1
RUN
/windows/system32/inetsrv/appcmd
.exe
set
config
/section
:system.applicationHost
/sites
/siteDefaults
.logFile.logExtFileFlags:
"Date, Time, ClientIP, UserName, SiteName, ServerIP, Method, UriStem, UriQuery, HttpStatus, Win32Status, TimeTaken, ServerPort, UserAgent, Referer, HttpSubStatus"
/commit
:apphost
ADD win64_11gR2_client.zip
/win64_11gR2_client
.zip
ADD unzip.exe
/unzip
.exe
RUN
/unzip
.exe
/win64_11gR2_client
.zip && del
/S
/Q
win64_11gR2_client.zip
ADD client.rsp
/client/client
.rsp
RUN
/client/setup
.exe -silent -force -noconsole -ignoreSysPrereqs -ignorePrereq -waitforcompletion -responseFile C:\client\client.rsp && del
/S
/Q
client
ADD SetHostsAndStartMonitoring.cmd \SetHostsAndStartMonitoring.cmd
ENTRYPOINT [
"C:\\SetHostsAndStartMonitoring.cmd"
]
VOLUME [
"c:/inetpub/logs/LogFiles"
,
"C:/inetpub/wwwroot/html"
]