docker-ubuntu-pyside-xvfb/accountfree-build-img-wine/Dockerfile

18 lines
780 B
Text
Raw Normal View History

2020-02-18 09:16:52 +00:00
FROM ad5001/ubuntu-pyside2-xvfb-wine:win7-5.14.1
2019-06-07 20:00:02 +00:00
RUN apt-get update
2019-11-27 18:16:51 +00:00
RUN apt install unzip nsis -y
2019-06-07 20:00:02 +00:00
# Installing tor to not get the popup
2020-02-18 09:16:52 +00:00
RUN wget https://dist.torproject.org/torbrowser/9.0.5/tor-win64-0.4.2.6.zip
RUN unzip tor-win64-0.4.2.6.zip -x Data/*
2019-06-07 20:00:02 +00:00
RUN mv Tor /wine/drive_c/
RUN wine reg ADD "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment" /v PATH /f /t REG_EXPAND_SZ /d "C:\windows\system32;C:\windows;C:\windows\system32\wbem;C:\Tor"
2020-02-18 09:16:52 +00:00
RUN rm tor-win64-0.4.2.6.zip
2019-06-07 20:00:02 +00:00
# Installing pyinstaller
RUN pip install pyinstaller
2020-02-18 09:16:52 +00:00
RUN echo 'wine '\''C:\Python37\Scripts\pyinstaller.exe'\'' "$@"' > /usr/bin/pyinstaller
2019-06-07 20:00:02 +00:00
RUN chmod +x /usr/bin/pyinstaller
# Installing dependencies
RUN pip install pyside2 packaging websocket-client pywin32 stem requests