创建JDK镜像 vi dockerfile FROM centos:7 ADD jdk-8u211-linux-x64.tar.gz /usr/local/ RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime RUN echo 'Asia/Shanghai' >/etc/timezone ENV JAVA_HOME /usr/local/jdk1.8.0_211 ENV CLASSPATH .:$JAVA_HOME/lib:$JRE_HOME…