🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
```shell #sh #docker pull centos #docker images #docker run -it centos:latest /bin/bash #download jdk gz from centos MAINTAINER stormsquirrel hs96.cn@gmail.com RUN mkdir /usr/local/java ADD jdk-8u261-linux-x64.tar.gz /usr/local/java/ RUN ln -s /usr/local/java/jdk1.8.0_261 /usr/local/java/jdk ENV JAVA_HOME /usr/local/java/jdk ENV JRE_HOME ${JAVA_HOME}/jre ENV CLASSPATH .:${JAVA_HOME}/lib:${JRE_HOME}/lib ENV PATH ${JAVA_HOME}/bin:$PATH #docker build -t="centos-jdk" . #docker run -it centos-jdk /bin/bash ```