123456789101112 |
- FROM centos:7
- MAINTAINER tina 976056042@qq.com
- RUN echo "ip_resolve=4" >> /etc/yum.conf
- RUN yum install kde-l10n-Chinese -y
- RUN yum install glibc-common -y
- RUN localedef -c -f UTF-8 -i zh_CN zh_CN.utf8
- RUN yum update -y && yum install -y java-1.8.0-openjdk
- RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
- RUN echo "Asia/Shanghai" > /etc/timezone
- ENV LC_ALL zh_CN.UTF-8
- ENV LANG zh_CN.UTF-8
- CMD ["/bin/sh","echo \"hello\""]
|