accountfree-docker/accountfree-build-img-wine/Dockerfile
2022-05-12 02:12:16 +02:00

16 lines
632 B
Docker

FROM ad5001/ubuntu-pyside2-xvfb-wine:win7-5.15.2
RUN apt-get update \
&& apt install unzip nsis curl -y
RUN apt clean
# Installing tor
RUN wget https://dist.torproject.org/torbrowser/10.5.4/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"
# Installing dependencies
RUN pip install packaging websocket-client pywin32 stem requests