docker jdk1.8+字体镜像

FROM centos:7

MAINTAINER wcy

#  修改成东八区
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone

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 


RUN  yum  -y  install mkfontscale 


RUN  yum   -y  install fontconfig

RUN mkdir /usr/share/fonts/chinese


ADD front /usr/share/fonts/chinese


RUN mkfontscale
RUN mkfontdir
RUN fc-cache -fv

		
ENV LC_ALL "zh_CN.UTF-8"

ADD jdk-8u371-linux-x64.tar.gz /usr/local/

ENV JAVA_HOME /usr/local/jdk1.8.0_371
ENV CLASSPATH $JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
ENV PATH $PATH:$JAVA_HOME/bin

你可能感兴趣的:(docker,jdk,字体)