summaryrefslogtreecommitdiff
path: root/Jenkinsfile
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-06-27 10:01:03 +0200
committerGitHub <noreply@github.com>2021-06-27 10:01:03 +0200
commitf544d75eab758f1336aa4671c398338acf4424aa (patch)
tree98aefea56bde48f64706b42423ff3d50c04d3525 /Jenkinsfile
parent8765873048bd0f39bf3c833503e12a9a85d398a6 (diff)
downloadvyos-build-f544d75eab758f1336aa4671c398338acf4424aa.tar.gz
vyos-build-f544d75eab758f1336aa4671c398338acf4424aa.zip
Jenkins: add missing "--privileged" flag to container startup
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 154a21d6..07deb126 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -38,7 +38,7 @@ node('Docker') {
// Get the current UID and GID from the jenkins agent to allow use of the same UID inside Docker
env.USR_ID = sh(returnStdout: true, script: 'id -u').toString().trim()
env.GRP_ID = sh(returnStdout: true, script: 'id -g').toString().trim()
- env.DOCKER_ARGS = '--sysctl net.ipv6.conf.lo.disable_ipv6=0 -e GOSU_UID=' + env.USR_ID + ' -e GOSU_GID=' + env.GRP_ID
+ env.DOCKER_ARGS = '--privileged --sysctl net.ipv6.conf.lo.disable_ipv6=0 -e GOSU_UID=' + env.USR_ID + ' -e GOSU_GID=' + env.GRP_ID
}
}
}