制作基于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}
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。