CI: Add --privileged flag to docker options

Change-Id: If92d55f15306e55dd7091ac3c47b13ebbbb03488
This commit is contained in:
George Joseph
2018-07-24 04:39:30 -06:00
parent 1b7607922b
commit f827f36ff3
4 changed files with 4 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ pipeline {
def r = currentBuild.startTimeInMillis % images.length
def ri = images[(int)r]
def randomImage = env.DOCKER_REGISTRY + "/" + ri
def dockerOptions = "--ulimit core=0 --ulimit nofile=10240 " +
def dockerOptions = "--privileged --ulimit core=0 --ulimit nofile=10240 " +
" -v /srv/jenkins:/srv/jenkins:rw -v /srv/cache:/srv/cache:rw " +
" --entrypoint=''"
def bt = env.BUILD_TAG.replaceAll(/[^a-zA-Z0-9_.-]/, '-')