FROM ubuntu:24.04 RUN sed -Ei "s@(security|ports|archive).ubuntu.com@mirrors.cloud.tencent.com@g" /etc/apt/sources.list.d/ubuntu.sources && \ apt-get update && \ apt-get install -y git && \ rm -rf /var/lib/apt/lists/*