标签:dock cache too date 字符集 系统 env asi glibc
以下是Dockerfile文件
=====================================
FROM centos:7
ENV LANG=zh_CN.UTF-8 \
LANGUAGE=zh_CN:zh \
LC_ALL=zh_CN.UTF-8
RUN yum update -y && \
yum reinstall -y glibc-common && \
yum install -y telnet net-tools && \
yum clean all && \
rm -rf /tmp/* rm -rf /var/cache/yum/* && \
localedef -c -f UTF-8 -i zh_CN zh_CN.UTF-8 && \
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
# Define default command.
CMD ["bash"]
======================================
标签:dock cache too date 字符集 系统 env asi glibc
原文地址:https://www.cnblogs.com/runnerjack/p/11954144.html