FROM centos:7
RUN rm -rf /etc/yum.repo.d/* \
&& curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo \
&& yum install -y wget \
&& wget -O /etc/yum.repos.d/epel.repo https://mirrors.aliyun.com/repo/epel-7.repo \
&& yum clean all \
&& yum makecache fast
RUN yum install kde-l10n-Chinese glibc-common tzdata telnet net-tools bind-utils -y \
&& localedef -c -f UTF-8 -i zh_CN zh_CN.utf8 \
&& ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
&& echo "Asia/Shanghai" > /etc/timezone
ENV LC_ALL=zh_CN.utf8
Content type
Image
Digest
sha256:9031f1e90…
Size
405.9 MB
Last updated
almost 4 years ago
docker pull zjhw/centos-amd64:7