Commit 451db939 by zhangxingmin

push

parent 24847306
...@@ -8,12 +8,11 @@ ENV LANG=zh_CN.UTF-8 \ ...@@ -8,12 +8,11 @@ ENV LANG=zh_CN.UTF-8 \
LC_ALL=zh_CN.UTF-8 \ LC_ALL=zh_CN.UTF-8 \
DEBIAN_FRONTEND=noninteractive DEBIAN_FRONTEND=noninteractive
# 使用 cat 写入完整的清华源配置,避免 sed 替换导致路径错误 # 用 echo 逐行写入清华源(兼容旧版 Docker Builder,不支持 heredoc)
RUN cat > /etc/apt/sources.list <<'EOF' RUN echo "deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free" > /etc/apt/sources.list && \
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free echo "deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free" >> /etc/apt/sources.list && \
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free echo "deb https://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-free" >> /etc/apt/sources.list && \
deb https://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-free cat /etc/apt/sources.list
EOF
# 更新并安装字体、LibreOffice 及中文语言包 # 更新并安装字体、LibreOffice 及中文语言包
RUN apt-get update && \ RUN apt-get update && \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment