制作基于Centos7的jdk1.8镜像

制作基于Centos7的jdk1.8镜像

FROM 192.168.2.196/base/centos7:latest
MAINTAINER wangxiaoke
MAINTAINER wangke@zhaotai.ren
WORKDIR /opt
USER root
ADD jdk-8u131-linux-x64.tar.gz
ENV JAVA_HOME=/opt/jdk1.8.0_131 \
    JAVA_BIN=/opt/jdk1.8.0_131/bin \
    CLASSPATH=/opt/jdk1.8.0_131/lib:/opt/jdk1.8.0_131/jrelib:${CLASSPATH} \
    PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/opt/jdk1.8.0_131/bin:/opt/jdk1.8.0_131/jre/bin:/opt/maven-3.1.1/bin:/opt/node-v8.11.1-linux-x64/bin:/root/bin:${PATH}


上一篇:nexus3.2重置admin密码


下一篇:Java实现 LeetCode 131 分割回文串