centos:7.9.2009 修改时区为CST,增加中文支持

  sre

A6C0504C979B7055C34972A161155461.jpg

FROM centos:7.9.2009
MAINTAINER sre,sre@me.com
LABEL Description="基于centos:7.9.2009镜像,修改时区为CST,增加中文支持"
ENV TZ Asia/Shanghai
RUN  yum -y install kde-l10n-Chinese telnet && \
    yum -y reinstall glibc-common &&\
    yum clean all  && \
    localedef -c -f UTF-8 -i zh_CN zh_CN.utf8
ENV LC_ALL "zh_CN.UTF-8"

LEAVE A COMMENT

Captcha Code