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