ci: Add CAP_CHROOT to build container
This is needed in order to run `passwd -R` to clear the root password in the target filesystem.pull/1/head
parent
8d3212ceca
commit
b6232802e8
|
@ -13,6 +13,7 @@ spec:
|
||||||
capabilities:
|
capabilities:
|
||||||
add:
|
add:
|
||||||
- CAP_SETFCAP
|
- CAP_SETFCAP
|
||||||
|
- CAP_SYS_CHROOT
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /build
|
- mountPath: /build
|
||||||
name: workspace-volume
|
name: workspace-volume
|
||||||
|
|
Loading…
Reference in New Issue