mirror of
https://gitee.com/kennylee/docker.git
synced 2024-12-01 19:38:30 +08:00
更新jenkins lts版本
This commit is contained in:
parent
cf66f7d2af
commit
1fbe8fe2de
@ -45,10 +45,10 @@ RUN curl -fsSL https://github.com/krallin/tini/releases/download/${TINI_VERSION}
|
||||
|
||||
# jenkins version being bundled in this docker image
|
||||
ARG JENKINS_VERSION
|
||||
ENV JENKINS_VERSION ${JENKINS_VERSION:-2.164.3}
|
||||
ENV JENKINS_VERSION ${JENKINS_VERSION:-2.176.1}
|
||||
|
||||
# jenkins.war checksum, download will be validated using it
|
||||
ARG JENKINS_SHA=a8af991f9085ff7f12baa2c9978554b2a18e5c4ed84327224d30e269e8f4a50e
|
||||
ARG JENKINS_SHA=8bbc6e2043e7bd102f751aca94b51652e1e792ec0a11377d52c9d9ed484f0e8c
|
||||
|
||||
# Can be used to customize where jenkins.war get downloaded from
|
||||
ARG JENKINS_URL=https://repo.jenkins-ci.org/public/org/jenkins-ci/main/jenkins-war/${JENKINS_VERSION}/jenkins-war-${JENKINS_VERSION}.war
|
||||
|
@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -rf './data/jenkins_home/*' './data/jenkins_home/\.*'
|
||||
rm -rf ./data/jenkins_home/*
|
||||
|
@ -9,7 +9,7 @@ x-logging:
|
||||
|
||||
services:
|
||||
app:
|
||||
image: kennylee26/jenkins:with-docker
|
||||
image: registry.cn-hangzhou.aliyuncs.com/kennylee/jenkins:lts-with-docker
|
||||
ports:
|
||||
- 8080:8080
|
||||
- 50000:50000
|
||||
|
Loading…
Reference in New Issue
Block a user