ci: Add CAP_CHROOT to build container
dustin/photoframe2/pipeline/head This commit looks good
Details
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.
parent
5726d2b76f
commit
346c88a179
|
@ -13,6 +13,7 @@ spec:
|
|||
capabilities:
|
||||
add:
|
||||
- CAP_SETFCAP
|
||||
- CAP_SYS_CHROOT
|
||||
volumeMounts:
|
||||
- mountPath: /build
|
||||
name: workspace-volume
|
||||
|
|
Loading…
Reference in New Issue