Merge pull request #34746 from overleaf/bg-clsi-apparmor

add new clsi apparmor profile for checkpoints

GitOrigin-RevId: 3a003263326613d3166343d54adb7050fe1e9847
This commit is contained in:
Brian Gough
2026-06-23 08:05:38 +00:00
committed by Copybot
parent e0cfb07f60
commit d75ef19bbf
@@ -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 =