Drop as much capabilities as possibile for the Collabora container (#8000)

This commit is contained in:
Pablo Zmdl
2026-07-18 14:02:17 +02:00
committed by GitHub
4 changed files with 17 additions and 4 deletions
+6
View File
@@ -308,6 +308,11 @@ readonly class ContainerDefinitionFetcher {
$capAdd = $entry['cap_add'];
}
$capDrop = [];
if (isset($entry['cap_drop'])) {
$capDrop = $entry['cap_drop'];
}
$shmSize = -1;
if (isset($entry['shm_size'])) {
$shmSize = $entry['shm_size'];
@@ -370,6 +375,7 @@ readonly class ContainerDefinitionFetcher {
$devices,
$enableNvidiaGpu,
$capAdd,
$capDrop,
$shmSize,
$apparmorUnconfined,
$backupVolumes,