发表于 2024年6月23日1年前 请问下面如何作为一个可选开关写到配置文件中? Setup Chinese Language Env RUN echo "export LANG=zh_CN.UTF-8" >> /etc/profile && echo "export LANGUAGE=zh_CN.UTF-8" >> /etc/profile && echo "export LC_ALL=zh_CN.UTF-8" >> /etc/profile
请问下面如何作为一个可选开关写到配置文件中?
Setup Chinese Language Env
RUN echo "export LANG=zh_CN.UTF-8" >> /etc/profile
&& echo "export LANGUAGE=zh_CN.UTF-8" >> /etc/profile
&& echo "export LC_ALL=zh_CN.UTF-8" >> /etc/profile