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