FROM debian:12.7 RUN sed -i "s@http://deb.debian.org/debian@http://mirrors.cloud.tencent.com/debian@g" /etc/apt/sources.list.d/debian.sources RUN apt-get update && \ apt-get install -y git && \ rm -rf /var/lib/apt/lists/*