-
Notifications
You must be signed in to change notification settings - Fork 120
/
Dockerfile
67 lines (62 loc) · 1.71 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
63
64
65
66
67
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 \
sqlite3 \
ffmpeg \
libsqlite3-dev \
zlib1g-dev \
recoverjpeg \
zip \
unrar \
megatools \
libfreetype6-dev \
procps \
policykit-1 \
p7zip-full \
tree
RUN apt-get autoremove --purge
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/88.0.4324.96/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/Thundergang/thunderuserbot /root/thunderbot
RUN mkdir /root/thunderbot/bin/
WORKDIR /root/thunderbot/
RUN chmod +x /usr/local/bin/*
RUN pip3 install -r requirements.txt
CMD ["bash","./Extras/startup.sh"]