diff --git a/ci/Jenkinsfile.lpt b/ci/Jenkinsfile.lpt index c81a21b78..0b855227c 100644 --- a/ci/Jenkinsfile.lpt +++ b/ci/Jenkinsfile.lpt @@ -2,7 +2,14 @@ library 'status-jenkins-lib@v1.8.17' pipeline { - agent { label 'linux' } + agent { + docker { + label 'linuxcontainer' + image 'harbor.status.im/infra/ci-build-containers:linux-base-1.0.0' + args '--volume=/var/run/docker.sock:/var/run/docker.sock ' + + '--user jenkins' + } + } options { timestamps() diff --git a/ci/Jenkinsfile.release b/ci/Jenkinsfile.release index 4a0cd0df3..570a37d5f 100644 --- a/ci/Jenkinsfile.release +++ b/ci/Jenkinsfile.release @@ -2,7 +2,14 @@ library 'status-jenkins-lib@v1.8.17' pipeline { - agent { label 'linux' } + agent { + docker { + label 'linuxcontainer' + image 'harbor.status.im/infra/ci-build-containers:linux-base-1.0.0' + args '--volume=/var/run/docker.sock:/var/run/docker.sock ' + + '--user jenkins' + } + } options { timestamps()