python3
Line | |
---|
1 | #escape=`
|
---|
2 | FROM mcr.microsoft.com/windows/servercore:1809
|
---|
3 | SHELL ["powershell", "-Command"]
|
---|
4 |
|
---|
5 | RUN $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 |
|
---|
16 | RUN $env:MSYSTEM='MINGW32' ; `
|
---|
17 | C:\msys64\usr\bin\bash.exe --login -c /usr/bin/true.exe ; `
|
---|
18 | C:\msys64\usr\bin\pacman.exe -Syu --noconfirm ; `
|
---|
19 | C:\msys64\usr\bin\pacman.exe -Su --noconfirm ; `
|
---|
20 | C:\msys64\usr\bin\pacman.exe -Scc --noconfirm
|
---|
21 |
|
---|
22 | COPY setup.sh C:\msys64\build\
|
---|
23 |
|
---|
24 | RUN $env:MSYSTEM='MINGW32'; `
|
---|
25 | C:\msys64\usr\bin\bash.exe --login -c /build/setup.sh
|
---|
26 |
|
---|
27 | COPY build.bat build.sh pywin32.patch pywin32git.patch cef_binary_3.3359.1774.gd49d25f_windows32.patch cefpython-66.0.patch py2exe.patch id_rsa C:\msys64\build\
|
---|
28 |
|
---|
29 | CMD ["powershell.exe"]
|
---|
Note:
See
TracBrowser
for help on using the repository browser.