-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathDockerfile
More file actions
72 lines (69 loc) · 2.3 KB
/
Dockerfile
File metadata and controls
72 lines (69 loc) · 2.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
FROM kalilinux/kali-rolling
ARG DEBIAN_FRONTEND=noninteractive
ENV TERM xterm-256color
RUN apt-get update && apt upgrade -y && apt-get install sudo -y
RUN apt-get install -y\
coreutils \
bash \
bzip2 \
curl \
tesseract-ocr \
tesseract-ocr-eng \
imagemagick \
figlet \
gcc \
g++ \
git \
libevent-dev \
libjpeg-dev \
libffi-dev \
libpq-dev \
libsqlite3-dev \
libwebp-dev \
libgl1 \
musl \
neofetch \
libcurl4-openssl-dev \
postgresql \
postgresql-client \
postgresql-server-dev-all \
openssl \
mediainfo \
wget \
python3 \
python3-dev \
python3-pip \
libreadline-dev \
zipalign \
sqlite3 \
ffmpeg \
libsqlite3-dev \
axel \
zlib1g-dev \
recoverjpeg \
zip \
megatools \
libfreetype6-dev \
procps \
imagemagick \
libmagic-dev \
policykit-1
#RUN apt-get autoremove --purge
#RUN pip3 install --upgrade pip setuptools
#RUN pip3 install --upgrade pip
#RUN if [ ! -e /usr/bin/pip ]; then ln -s pip3 /usr/bin/pip ; fi
#RUN if [ ! -e /usr/bin/python ]; then ln -sf /usr/bin/python3 /usr/bin/python; fi
#RUN rm -r /root/.cache
RUN wget http://www.cmake.org/files/v2.8/cmake-2.8.3.tar.gz && tar xzf cmake-2.8.3.tar.gz && cd cmake-2.8.3 && ./configure --prefix=/opt/cmake && make install
RUN axel https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && apt install -y ./google-chrome-stable_current_amd64.deb && rm google-chrome-stable_current_amd64.deb
RUN axel https://chromedriver.storage.googleapis.com/86.0.4240.22/chromedriver_linux64.zip && unzip chromedriver_linux64.zip && chmod +x chromedriver && mv -f chromedriver /usr/bin/ && rm chromedriver_linux64.zip
RUN wget -O opencv.zip https://github.com/opencv/opencv/archive/master.zip && unzip opencv.zip && mv -f opencv-master /usr/bin/ && rm opencv.zip
#RUN git clone https://github.com/KeinShin/Black-Lightning /root/userbot
RUN wget https://raw.githubusercontent.com/Inukaasith/virtualuserbot/master/virtualbotmain.py
RUN wget https://raw.githubusercontent.com/Inukaasith/virtualuserbot/master/requirements.txt
#RUN mkdir /root/userbot/bin/
#WORKDIR /root/userbot/
#RUN chmod +x /usr/local/bin/*
RUN pip3 install -r requirements.txt
#CMD ["bash","boot_start.sh"]
CMD ["python3","virtualbotmain.py"]