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.
This commit is contained in:
@@ -12,6 +12,7 @@ spec:
|
|||||||
securityContext:
|
securityContext:
|
||||||
capabilities:
|
capabilities:
|
||||||
add:
|
add:
|
||||||
|
- CAP_CHROOT
|
||||||
- CAP_SETFCAP
|
- CAP_SETFCAP
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /build
|
- mountPath: /build
|
||||||
|
|||||||
Reference in New Issue
Block a user