Skip to content

Commit 4c56539

Browse files
committed
ci: allow privilege for CLONE_NEWPID | CLONE_NEWNET
1 parent 3c05b69 commit 4c56539

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build/azure-pipelines/product-build.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -126,13 +126,15 @@ resources:
126126
- container: vscode-x64
127127
image: vscodehub.azurecr.io/vscode-linux-build-agent:bionic-x64
128128
endpoint: VSCodeHub
129-
options: --user 0:0
129+
options: --user 0:0 --cap-add SYS_ADMIN
130130
- container: vscode-arm64
131131
image: vscodehub.azurecr.io/vscode-linux-build-agent:stretch-arm64
132132
endpoint: VSCodeHub
133+
options: --user 0:0 --cap-add SYS_ADMIN
133134
- container: vscode-armhf
134135
image: vscodehub.azurecr.io/vscode-linux-build-agent:stretch-armhf
135136
endpoint: VSCodeHub
137+
options: --user 0:0 --cap-add SYS_ADMIN
136138
- container: snapcraft
137139
image: snapcore/snapcraft:stable
138140

0 commit comments

Comments
 (0)