-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile-base
More file actions
46 lines (39 loc) · 1011 Bytes
/
Dockerfile-base
File metadata and controls
46 lines (39 loc) · 1011 Bytes
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
FROM --platform=linux/amd64 ubuntu:24.04 as base
ENV DEBIAN_FRONTEND=noninteractive
ENV TERM=xterm
# Install dependencies
RUN apt-get update && apt-get install -y \
ca-certificates \
python3 \
python3-pip \
supervisor \
procps \
tint2 \
gdebi-core \
git \
vim \
less \
lsof \
tree \
curl \
wget \
unzip \
fonts-noto-cjk \
locales \
--no-install-recommends && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - && \
apt-get install -y nodejs && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
#install js dependencies
RUN npm install -g cnpm --registry=https://registry.npmmirror.com
# Install ossfs2
RUN wget https://gosspublic.alicdn.com/ossfs/ossfs2_2.0.3_linux_x86_64.deb -O ossfs2.deb && \
dpkg -i ossfs2.deb && \
ossfs2 --version && \
rm ossfs2.deb
# Setup languate
RUN locale-gen zh_CN.UTF-8 && \
update-locale LANG=zh_CN.UTF-8