feat: 设置镜像源

This commit is contained in:
xiao 2024-11-01 21:24:10 +08:00 committed by cnb
parent ab55364520
commit 2b6598368c

View File

@ -1,7 +1,9 @@
FROM debian:bookworm FROM debian:bookworm
COPY bt.sh /bt.sh COPY bt.sh /bt.sh
COPY ["ssh_host_*","/etc/ssh/"]
# 切换 Debian 镜像源为腾讯云源
RUN sed -i 's/deb.debian.org/mirrors.tencent.com/g' /etc/apt/sources.list.d/debian.sources
# 设置构建参数 # 设置构建参数
ARG RANDOM_NAME ARG RANDOM_NAME