mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-15 20:25:50 +00:00
add root privliedge to container in build image
This commit is contained in:
parent
ce27ec7faf
commit
41f7d4b720
1 changed files with 1 additions and 1 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -41,7 +41,7 @@ pipeline {
|
||||||
agent {
|
agent {
|
||||||
docker {
|
docker {
|
||||||
image 'docker:20.10.16'
|
image 'docker:20.10.16'
|
||||||
args '--privileged -v /var/run/docker.sock:/var/run/docker.sock'
|
args '--privileged -u root -v /var/run/docker.sock:/var/run/docker.sock'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
|
|
Loading…
Reference in a new issue