mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01:00
Merge pull request #34746 from overleaf/bg-clsi-apparmor
add new clsi apparmor profile for checkpoints GitOrigin-RevId: 3a003263326613d3166343d54adb7050fe1e9847
This commit is contained in:
@@ -203,6 +203,16 @@ if ((process.env.DOCKER_RUNNER || process.env.SANDBOXED_COMPILES) === 'true') {
|
||||
}
|
||||
}
|
||||
|
||||
if (process.env.NEW_APPARMOR_PROFILE) {
|
||||
try {
|
||||
module.exports.clsi.docker.new_apparmor_profile =
|
||||
process.env.NEW_APPARMOR_PROFILE
|
||||
} catch (error) {
|
||||
console.error(error, 'could not apply new apparmor profile setting')
|
||||
process.exit(1)
|
||||
}
|
||||
}
|
||||
|
||||
if (process.env.ALLOWED_IMAGES) {
|
||||
try {
|
||||
module.exports.clsi.docker.allowedImages =
|
||||
|
||||
Reference in New Issue
Block a user