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.
parent
dc2b52705c
commit
29a935c490
|
@ -12,6 +12,7 @@ spec:
|
||||||
securityContext:
|
securityContext:
|
||||||
capabilities:
|
capabilities:
|
||||||
add:
|
add:
|
||||||
|
- CAP_CHROOT
|
||||||
- CAP_SETFCAP
|
- CAP_SETFCAP
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /build
|
- mountPath: /build
|
||||||
|
|
Loading…
Reference in New Issue