dockerfile部署java环境
FROM centos:8
MAINTAINER xiaocaidao
RUN mkdir /usr/local/java
ADD jdk-11.0.10_linux-x64_bin.tar.gz /usr/local/java
ENV JAVA_HOME /usr/local/java/jdk-11.0.10
ENV PATH $JAVA_HOME/bin:$PATH
ENV CLASSPATH .:$JAVA_HOME/lib
一个勤劳的搬砖程序员