fix: 移除冗余的 update-locale 命令

This commit is contained in:
xiao 2025-03-08 22:46:35 +08:00
parent f348f68acc
commit 7bbdb1d9ff

View File

@ -7,7 +7,6 @@ RUN sed -i 's/deb.debian.org/mirrors.tencent.com/g' /etc/apt/sources.list.d/debi
locales \ locales \
wget iproute2 openssh-server cmake make gcc g++ autoconf sudo curl dos2unix build-essential \ wget iproute2 openssh-server cmake make gcc g++ autoconf sudo curl dos2unix build-essential \
&& locale-gen en_US.UTF-8 \ && locale-gen en_US.UTF-8 \
&& update-locale LANG=en_US.UTF-8 \
&& apt autoremove -y \ && apt autoremove -y \
&& apt clean \ && apt clean \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
@ -18,6 +17,7 @@ ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8 ENV LC_ALL en_US.UTF-8
# 转换启动脚本 # 转换启动脚本
RUN dos2unix /bt.sh && dos2unix /init_mysql.sh RUN dos2unix /bt.sh && dos2unix /init_mysql.sh