13 lines
499 B
Docker
13 lines
499 B
Docker
FROM debian:bookworm-slim
|
|
|
|
ENV TZ=Asia/Shanghai
|
|
|
|
RUN sed -i 's@deb.debian.org@mirrors.tuna.tsinghua.edu.cn@g' /etc/apt/sources.list.d/debian.sources \
|
|
&& sed -i 's@security.debian.org@mirrors.tuna.tsinghua.edu.cn@g' /etc/apt/sources.list.d/debian.sources \
|
|
&& echo "${TZ}" > /etc/timezone \
|
|
&& ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime \
|
|
&& apt update \
|
|
&& apt install -y tzdata git gcc curl wget vim nodejs npm python3 python3-pip \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|