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

1 对 “升级jenkins jnlp slave镜像为oraclejdk 8u231”的想法;

  1. registry.cn-hangzhou.aliyuncs.com/sre_pub/jnlp-slave-oracle-nodejs:jdk-251

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

Captcha Code