diff --git a/deb12/src/Dockerfile.base b/deb12/src/Dockerfile.base index f84ff47..89ad597 100644 --- a/deb12/src/Dockerfile.base +++ b/deb12/src/Dockerfile.base @@ -12,6 +12,7 @@ ENV \ # mirrors.tencentyun.com ARG TARGETPLATFORM RUN export DOMAIN="mirrors.ustc.edu.cn"; \ + rm -f /etc/apt/sources.list.d/debian.sources; \ test -z "$(echo $TARGETPLATFORM |grep arm)" && target=bookworm || target=bookworm-ports; \ echo "deb http://$DOMAIN/debian bookworm main contrib non-free" > /etc/apt/sources.list; \ echo "deb http://$DOMAIN/debian bookworm-updates main contrib non-free">> /etc/apt/sources.list; \