2021-06-30 17:54:26 +00:00
|
|
|
FROM ad5001/ubuntu-pyside2-xvfb-wine:win7-5.15.2
|
2020-08-27 09:58:21 +00:00
|
|
|
|
2021-08-12 20:18:35 +00:00
|
|
|
RUN apt-get update \
|
|
|
|
&& apt install unzip nsis curl -y
|
2020-08-27 09:58:21 +00:00
|
|
|
RUN apt clean
|
|
|
|
# Installing tor
|
2021-06-30 17:54:26 +00:00
|
|
|
RUN wget https://dist.torproject.org/torbrowser/10.0.18/tor-win64-0.4.5.9.zip \
|
2020-08-27 09:58:21 +00:00
|
|
|
&& ls -la \
|
2021-06-30 17:54:26 +00:00
|
|
|
&& unzip tor-win64-0.4.5.9.zip -x Data/* \
|
|
|
|
&& rm tor-win64-0.4.5.9.zip \
|
2020-08-27 09:58:21 +00:00
|
|
|
&& mv Tor /wine/drive_c/
|
2019-06-07 20:00:02 +00:00
|
|
|
|
2020-08-27 09:58:21 +00:00
|
|
|
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"
|
2019-06-07 20:00:02 +00:00
|
|
|
# Installing dependencies
|
2021-06-30 17:54:26 +00:00
|
|
|
RUN pip install packaging websocket-client pywin32 stem requests
|