forked from DARK-COBRA/DARKCOBRA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
62 lines (58 loc) · 1.62 KB
/
Dockerfile
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
FROM kalilinux/kali-rolling
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt upgrade -y && apt-get install sudo -y
RUN apt-get install -y\
coreutils \
bash \
nodejs \
bzip2 \
curl \
figlet \
gcc \
g++ \
git \
util-linux \
libevent-dev \
libjpeg-dev \
libffi-dev \
libpq-dev \
libwebp-dev \
libxml2 \
libxml2-dev \
libxslt-dev \
musl \
neofetch \
libcurl4-openssl-dev \
postgresql \
postgresql-client \
postgresql-server-dev-all \
openssl \
mediainfo \
wget \
python3 \
python3-dev \
python3-pip \
libreadline-dev \
zipalign \
sqlite \
ffmpeg \
libsqlite3-dev \
zlib1g-dev \
recoverjpeg \
zip \
megatools \
libfreetype6-dev \
procps \
policykit-1
RUN pip3 install --upgrade pip setuptools
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 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 wget https://chromedriver.storage.googleapis.com/84.0.4147.30/chromedriver_linux64.zip && unzip chromedriver_linux64.zip && chmod +x chromedriver && mv -f chromedriver /usr/bin/ && rm chromedriver_linux64.zip
RUN git clone https://github.com/DARK-COBRA/DARKCOBRA /root/userbot
RUN mkdir /root/userbot/bin/
WORKDIR /root/userbot/
RUN chmod +x /usr/local/bin/*
RUN pip3 install -r requirements.txt
CMD ["python -m userbot"]