Adding new required packages.

This commit is contained in:
Adsooi 2021-08-12 20:46:52 +02:00
commit 2d1f741831
Signed by: Ad5001
GPG key ID: 7251B1AF90B960F9
6 changed files with 152 additions and 57 deletions

View file

@ -1,17 +1,15 @@
FROM ad5001/ubuntu-pyside2-xvfb-wine:win7-5.14.1
FROM ad5001/ubuntu-pyside2-xvfb-wine:win7-5.15.2
RUN apt-get update
RUN apt install unzip nsis curl -y
# Installing tor to not get the popup
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/*
RUN mv Tor /wine/drive_c/
RUN apt clean
# Installing tor
RUN wget https://dist.torproject.org/torbrowser/10.0.18/tor-win64-0.4.5.9.zip \
&& ls -la \
&& unzip tor-win64-0.4.5.9.zip -x Data/* \
&& rm tor-win64-0.4.5.9.zip \
&& 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"
RUN rm tor-win64-0.4.2.6.zip
# Installing pyinstaller
RUN pip install pyinstaller
RUN echo 'wine '\''C:\Python37\Scripts\pyinstaller.exe'\'' "$@"' > /usr/bin/pyinstaller
RUN chmod +x /usr/bin/pyinstaller
# Installing dependencies
RUN pip install pyside2 packaging socksipy-branch websocket-client stem requests
RUN pip install packaging websocket-client pywin32 stem requests