-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDOCKERFILE
29 lines (21 loc) · 1.19 KB
/
DOCKERFILE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM microsoft/windowsservercore
RUN powershell.exe -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" -Wait
RUN choco install windbg -y
#RUN choco install sysinternals -y
RUN ["c:/Program Files (x86)/Windows Kits/10/Debuggers/x86/gflags.exe", "-i", "mfisolatedtest.exe", "+sls"]
# x86 runtime for our test app
ADD https://aka.ms/vs/15/release/vc_redist.x86.exe /setup/vc_redist.x86.exe
RUN c:/setup/vc_redist.x86.exe /quiet /install
# x64 runtime for vs_remotetools
ADD https://download.microsoft.com/download/6/D/F/6DF3FF94-F7F9-4F0B-838C-A328D1A7D0EE/vc_redist.x64.exe /setup/vc_redist.x64.exe
RUN C:\setup\vc_redist.x64.exe /quiet
# vs_remotetools for debugging
ADD https://aka.ms/vs/15/release/RemoteTools.amd64ret.enu.exe /setup/VS_RemoteTools.exe
RUN C:\setup\VS_RemoteTools.exe /quiet
# Copy the script that installs Media Foundation Framework
copy *.ps1 c:/setup
RUN powershell.exe c:/setup/setup_media_framework.ps1
copy mftenum.exe c:/mfisolatedtest/
copy h264.mp4 c:/test_data/
copy release/mfisolatedtest.exe c:/mfisolatedtest/
CMD [ "cmd" ]