mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-09-20 02:00:23 +00:00
Drop as much capabilities as possibile for the Collabora container (#8000)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user