16 lines
964 B
Docker
16 lines
964 B
Docker
FROM debian:12-slim
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
RUN echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware" > /etc/apt/sources.list && \
|
|
echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware" >> /etc/apt/sources.list && \
|
|
echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware" >> /etc/apt/sources.list && \
|
|
echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian-security bookworm-security main contrib non-free non-free-firmware" >> /etc/apt/sources.list && \
|
|
rm -rf /etc/apt/sources.list.d/debian.sources && \
|
|
apt update
|
|
|
|
RUN apt install -y --no-install-recommends wget lsb-release unzip ca-certificates
|
|
RUN apt install -y --no-install-recommends curl git vim sudo openssh-client jq yq bash bash-completion gnupg2 \
|
|
&& apt clean && rm -rf /var/lib/apt/lists/*
|
|
|