升级jenkins jnlp slave镜像为oraclejdk 8u231

  运维
from registry.cn-hangzhou.aliyuncs.com/sre_pub/jnlp-slave:1.4
MAINTAINER me <me@org>
LABEL Description="基于v1.4镜像,将jdk改为oracle jdk 8u231"
ADD jdk-8u231-linux-x64.tar.gz  /usr/local/
ENV JAVA_HOME /usr/local/jdk1.8.0_231
ENV JRE_HOME /usr/local/jdk1.8.0_231
ENV PATH $PATH:$JAVA_HOME/bin:$JRE_HOME/bin
docker build -t registry.cn-hangzhou.aliyuncs.com/sre_pub/jnlp-slave-oracle .
docker push registry.cn-hangzhou.aliyuncs.com/sre_pub/jnlp-slave-oracle

LEAVE A COMMENT

发表评论前,请选对水果【Apple=苹果、Banana=香蕉、Pineapple=菠萝、Grapes=葡萄】 Banana...