#centos
         RUN localedef -i zh_CN -f UTF-8 en_US.UTF-8
         ENV LANG en_US.UTF-8
        #ubuntu 
         RUN apt-get clean && apt-get update && apt-get install -y locales \
    locale-gen zh_CN.UTF-8 &&\
    DEBIAN_FRONTEND=noninteractive dpkg-reconfigure locales
         ENV LANG zh_CN.UTF-8
         ENV LANGUAGE zh_CN:zh
         ENV LC_ALL zh_CN.UTF-8

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

Captcha Code