source: docker/msys/Dockerfile@ 964:0512c531d21e

python3
Last change on this file since 964:0512c531d21e was 920:42b14124051b, checked in by István Váradi <ivaradi@…>, 6 years ago

Win 10 Docker image for building the new Python3-based distribution

File size: 1.5 KB
Line 
1#escape=`
2FROM mcr.microsoft.com/windows/servercore:1809
3SHELL ["powershell", "-Command"]
4
5RUN $WebClient = New-Object System.Net.WebClient ; `
6 $WebClient.DownloadFile('https://www.7-zip.org/a/7z1900-x64.msi', '7z.msi') ; `
7 $WebClient.DownloadFile('http://repo.msys2.org/distrib/msys2-x86_64-latest.tar.xz', 'msys2.tar.xz') ; `
8 Start-Process msiexec.exe -ArgumentList '/i C:\7z.msi /qn reboot=r' -Wait -PassThru -Verbose ; `
9 Start-Process 'C:\Program Files\7-Zip\7z.exe' -ArgumentList 'x msys2.tar.xz' -Wait -PassThru -Verbose ; `
10 Start-Process tar -ArgumentList 'xf msys2.tar' -Wait -PassThru -Verbose ; `
11 Start-Process msiexec.exe -ArgumentList '/x C:\7z.msi /qn reboot=r' -Wait -PassThru -Verbose ; `
12 Remove-Item msys2.tar ; `
13 Remove-Item msys2.tar.xz ; `
14 Remove-Item 7z.msi
15
16RUN $env:MSYSTEM='MINGW32' ; `
17 Start-Process C:\msys64\usr\bin\pacman.exe -ArgumentList '-Syu --noconfirm' -Wait -PassThru -Verbose -WorkingDirectory 'C:\msys64' ; `
18 Start-Process C:\msys64\usr\bin\pacman.exe -ArgumentList '-Su --noconfirm' -Wait -PassThru -Verbose -WorkingDirectory 'C:\msys64' ; `
19 Start-Process C:\msys64\usr\bin\bash.exe -ArgumentList '--login -c /usr/bin/true.exe' -Wait -PassThru -Verbose -WorkingDirectory 'C:\msys64'; `
20 mkdir C:\msys64\build
21
22COPY setup.sh pywin32.patch pywin32git.patch cef_binary_3.3359.1774.gd49d25f_windows32.patch cefpython-66.0.patch py2exe.patch C:\msys64\build\
23
24RUN $env:MSYSTEM='MINGW32'; `
25 C:\msys64\usr\bin\bash.exe --login C:\msys64\build\setup.sh ;
Note: See TracBrowser for help on using the repository browser.