大量更新
This commit is contained in:
17
63-202504-CICD新/1-jenkins安装.txt
Normal file
17
63-202504-CICD新/1-jenkins安装.txt
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
|
||||
docker network create jenkins
|
||||
|
||||
docker run --name jenkins-docker --rm --detach \
|
||||
--privileged --network jenkins --network-alias docker \
|
||||
--env DOCKER_TLS_CERTDIR=/certs \
|
||||
--volume jenkins-docker-certs:/certs/client \
|
||||
--volume jenkins-data:/var/jenkins_home \
|
||||
--publish 2376:2376 \
|
||||
docker:dind --storage-driver overlay2
|
||||
|
||||
|
||||
# build jenkins
|
||||
cd /root/wdd/jenkins-build
|
||||
|
||||
docker build -t harbor.cdcyy.com.cn/cmii/jenkins-wdd-blueocean:2.492.3-lts-jdk21 .
|
||||
Reference in New Issue
Block a user