source: docker/msys/Dockerfile@ 976:69bc5891e14d

python3
Last change on this file since 976:69bc5891e14d was 976:69bc5891e14d, checked in by István Váradi <ivaradi@…>, 5 years ago

Reworked Windows Docker image and MSYS building (re #347)

File size: 1.4 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 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
22COPY setup.sh C:\msys64\build\
23
24RUN $env:MSYSTEM='MINGW32'; `
25 C:\msys64\usr\bin\bash.exe --login -c /build/setup.sh
26
27COPY 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
29CMD ["powershell.exe"]
Note: See TracBrowser for help on using the repository browser.