Sandboxed Compiles: support configurable texlive image root via env var

This commit is contained in:
yu-i-i
2026-07-17 17:59:20 +02:00
parent e3175676c1
commit 412a1a539f
9 changed files with 13 additions and 9 deletions
@@ -45,7 +45,7 @@ const ProjectOptionsHandler = {
if (!isAllowed) {
throw new OError('invalid imageName', { imageName })
}
return settings.imageRoot + '/' + imageName
return imageName
},
async setImageName(projectId, imageName) {
@@ -20,3 +20,6 @@ if (process.env.SANDBOXED_COMPILES === 'true') {
}
Settings.currentImageName = process.env.TEX_LIVE_DOCKER_IMAGE
}
const SandboxedCompilesModule = {}
export default SandboxedCompilesModule