Changeset 939:de728888b85e for docker/context
- Timestamp:
- 04/28/19 17:32:28 (6 years ago)
- Branch:
- python3
- Phase:
- public
- Location:
- docker/context
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
docker/context/Dockerfile
r916 r939 8 8 wine \ 9 9 wine32 && \ 10 apt-get clean && \ 10 11 echo "Europe/Budapest" > /etc/timezone && \ 11 12 rm -f /etc/localtime && \ -
docker/context/build.sh
r916 r939 18 18 cd "${mlxdirname}" 19 19 20 echo "winemakeinst.bat" | wine cmd 20 export WINE=yes 21 ./makeinst.sh 21 22 22 23 echo -
docker/context/setup.sh
r916 r939 4 4 5 5 cdrive="${HOME}/.wine/drive_c" 6 ctmpdir="${cdrive}/tmp" 7 cpythondir="${cdrive}/Python27" 8 cwinsysdir="${cdrive}/windows/system32" 6 cpythondir="${cdrive}/msys64/mingw32" 9 7 10 if test -f "${cpythondir}/ python.exe"; then8 if test -f "${cpythondir}/bin/python3.exe"; then 11 9 echo "Image already configured, not doing anything!" 12 10 exit 1 … … 16 14 echo 17 15 16 export WINEARCH=win32 17 18 echo "exit" | wine cmd 19 18 20 echo "Downloading and extracting the extra packages..." 19 21 20 wget -O - mlx.varadiistvan.hu/update/winepkgs.tar | tar xf - 22 wget -O - mlx.varadiistvan.hu/update/msys64.tar.gz | tar xzf - -C "${cdrive}" 23 wget -O - mlx.varadiistvan.hu/update/winepkgs.tar | tar xf - nsis-2.46-setup.exe pyuipc-cpython-37m.dll xplra.py 24 25 mv pyuipc-cpython-37m.dll xplra.py /root/.wine/drive_c/msys64/mingw32/lib/python3.7/site-packages 21 26 22 27 echo 23 28 echo "Installing extra packages..." 24 29 25 export WINEARCH=win3226 27 echo "exit" | wine cmd28 wine msiexec /i python-2.7.2.msi29 wine msiexec /i cefpython3-31.2.py2.7-win32.msi30 wine msiexec /i pygtk-all-in-one-2.24.1.win32-py2.7.msi31 wine msiexec /i pyuipc-0.4.win32-py2.7.msi32 wine msiexec /i xplra-0.2.win32.msi33 34 wine pywin32-217.win32-py2.7.exe35 wine py2exe-0.6.9.win32-py2.7.exe36 30 wine nsis-2.46-setup.exe 37 38 mkdir "${ctmpdir}"39 cp chromedriver.exe "${ctmpdir}"40 41 tar xzf Python27.extra.tar.gz -C "${cpythondir}"42 43 touch -d "2015-02-22 14:50:07" "${cpythondir}/Lib/site-packages/win32/lib/win32con.py"44 touch -d "2015-02-22 14:50:07" "${cpythondir}/Lib/site-packages/win32/lib/winerror.py"45 46 cp python27.dll WINHTTP.dll "${cwinsysdir}"47 31 48 32 echo 49 33 echo "Removing extra packages..." 50 rm -f *. msi *.exe Python27.extra.tar.gz python27.dll WINHTTP.dll34 rm -f *.exe 51 35 echo 52 36 echo "Done."
Note:
See TracChangeset
for help on using the changeset viewer.