Skip to content
This repository was archived by the owner on Feb 20, 2023. It is now read-only.

Commit 615dcd1

Browse files
authored
Add ptrace capabilities to all Docker containers. (#1443)
1 parent 0c17df0 commit 615dcd1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Jenkinsfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ pipeline {
135135
agent {
136136
docker {
137137
image 'noisepage:focal'
138-
args '-v /jenkins/ccache:/home/jenkins/.ccache'
138+
args '--cap-add sys_ptrace -v /jenkins/ccache:/home/jenkins/.ccache'
139139
}
140140
}
141141
environment {
@@ -228,7 +228,7 @@ pipeline {
228228
agent {
229229
docker {
230230
image 'noisepage:focal'
231-
args '-v /jenkins/ccache:/home/jenkins/.ccache'
231+
args '--cap-add sys_ptrace -v /jenkins/ccache:/home/jenkins/.ccache'
232232
}
233233
}
234234
steps {
@@ -265,7 +265,7 @@ pipeline {
265265
agent {
266266
docker {
267267
image 'noisepage:focal'
268-
args '-v /jenkins/ccache:/home/jenkins/.ccache'
268+
args '--cap-add sys_ptrace -v /jenkins/ccache:/home/jenkins/.ccache'
269269
}
270270
}
271271
environment {

0 commit comments

Comments
 (0)