ci: Add CAP_CHROOT to build container
dustin/photoframe2/pipeline/head This commit looks good Details

This is needed in order to run `passwd -R` to clear the root password
in the target filesystem.
Dustin 2024-12-29 20:25:49 -06:00
parent 5726d2b76f
commit 346c88a179
1 changed files with 1 additions and 0 deletions

View File

@ -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