eienmojiki commited on
Commit
d70bd9a
·
verified ·
1 Parent(s): 90f3900

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +79 -0
Dockerfile ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM buildpack-deps:22.04-curl
2
+
3
+ ENV DEBIAN_FRONTEND=noninteractive \
4
+ TZ=Asia/Ho_Chi_Minh \
5
+ PORT=7860 \
6
+ HOME=/home/koga
7
+
8
+ RUN useradd -m -u 1000 koga
9
+
10
+ RUN rm -f /etc/apt/sources.list.d/*.list && \
11
+ apt-get update && apt-get install -y --no-install-recommends \
12
+ ansible \
13
+ bash \
14
+ procps \
15
+ git \
16
+ git-lfs \
17
+ unzip \
18
+ xz-utils \
19
+ openssh-client \
20
+ openssl \
21
+ dnsutils \
22
+ curl \
23
+ sudo \
24
+ screen \
25
+ smbclient \
26
+ wget \
27
+ rsync \
28
+ whois \
29
+ netcat \
30
+ nmap \
31
+ terminator \
32
+ tmux \
33
+ ffmpeg \
34
+ htop \
35
+ vim \
36
+ nano \
37
+ neofetch \
38
+ wget \
39
+ curl \
40
+ net-tools \
41
+ libxi6 \
42
+ libgconf-2-4 \
43
+ locales \
44
+ bzip2 \
45
+ python3-numpy \
46
+ libsodium-dev \
47
+ libsodium23 \
48
+ supervisor \
49
+ xdotool \
50
+ zsh \
51
+ fontconfig \
52
+ build-essential \
53
+ && rm -rf /var/lib/apt/lists/*
54
+
55
+ RUN curl -sL https://deb.nodesource.com/setup_20.x | sudo -E bash -\
56
+ && apt install nodejs \
57
+ && npm install -g configurable-http-proxy
58
+
59
+ RUN sudo apt install -y \
60
+ libnss3-dev \
61
+ libgdk-pixbuf2.0-dev \
62
+ libgtk-3-dev \
63
+ libxss-dev \
64
+ libssl-dev libncurses5-dev libsqlite3-dev libreadline-dev libtk8.6 libgdm-dev libdb4o-cil-dev libpcap-dev \
65
+ && sudo apt install -y libasound2 make \
66
+ && sudo apt install -y libnss3
67
+
68
+ RUN cd /tmp && \
69
+ wget https://www.python.org/ftp/python/3.10.12/Python-3.10.12.tgz && \
70
+ tar -xf Python-3.10.12.tgz && \
71
+ cd Python-3.10.12 && \
72
+ ./configure --enable-optimizations && \
73
+ sudo make install
74
+ RUN rm -fr /tmp/Python-3.10.12 && \
75
+ rm /tmp/Python-3.10.12.tgz
76
+ RUN sudo apt update && \
77
+ sudo apt install -y python3-venv python3-pip
78
+
79
+ WORKDIR /home/koga