1
0
Fork 0
mirror of https://github.com/overleaf/overleaf.git synced 2025-04-11 03:07:29 +00:00

Merge pull request from overleaf/bg-support-other-runtimes

support other runtimes
This commit is contained in:
Henry Oswald 2020-04-23 14:42:18 +01:00 committed by GitHub
commit 7b9912034d
2 changed files with 5 additions and 0 deletions
services/clsi

View file

@ -306,6 +306,10 @@ module.exports = DockerRunner = {
)
}
if (Settings.clsi.docker.runtime) {
options.HostConfig.Runtime = Settings.clsi.docker.runtime
}
return options
},

View file

@ -67,6 +67,7 @@ if (process.env.DOCKER_RUNNER) {
module.exports.clsi = {
dockerRunner: process.env.DOCKER_RUNNER === 'true',
docker: {
runtime: process.env.DOCKER_RUNTIME,
image:
process.env.TEXLIVE_IMAGE || 'quay.io/sharelatex/texlive-full:2017.1',
env: {