Initial commit
This commit is contained in:
commit
0f6ece7e6a
6 changed files with 165 additions and 0 deletions
18
accountfree-build-img-wine/Dockerfile
Normal file
18
accountfree-build-img-wine/Dockerfile
Normal file
|
@ -0,0 +1,18 @@
|
|||
FROM ad5001/ubuntu-pyside2-xvfb-wine:win7-5.12.2
|
||||
|
||||
RUN apt-get update
|
||||
# Installing tor to not get the popup
|
||||
RUN apt install unzip -y
|
||||
RUN wget https://dist.torproject.org/torbrowser/8.0.7/tor-win32-0.3.5.8.zip
|
||||
RUN unzip tor-win32-0.3.5.8.zip -x Data/*
|
||||
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"
|
||||
RUN rm tor-win32-0.3.5.8.zip
|
||||
|
||||
# Installing pyinstaller
|
||||
RUN pip install pyinstaller
|
||||
RUN echo 'wine '\''C:\Python36\Scripts\pyinstaller.exe'\'' "$@"' > /usr/bin/pyinstaller
|
||||
RUN chmod +x /usr/bin/pyinstaller
|
||||
|
||||
# Installing dependencies
|
||||
RUN pip install streamlink pyside2 torrequest websocket-client
|
Loading…
Add table
Add a link
Reference in a new issue