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