Merge pull request #146 from overleaf/bg-support-other-runtimes
support other runtimes
This commit is contained in:
@@ -306,6 +306,10 @@ module.exports = DockerRunner = {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (Settings.clsi.docker.runtime) {
|
||||||
|
options.HostConfig.Runtime = Settings.clsi.docker.runtime
|
||||||
|
}
|
||||||
|
|
||||||
return options
|
return options
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -67,6 +67,7 @@ if (process.env.DOCKER_RUNNER) {
|
|||||||
module.exports.clsi = {
|
module.exports.clsi = {
|
||||||
dockerRunner: process.env.DOCKER_RUNNER === 'true',
|
dockerRunner: process.env.DOCKER_RUNNER === 'true',
|
||||||
docker: {
|
docker: {
|
||||||
|
runtime: process.env.DOCKER_RUNTIME,
|
||||||
image:
|
image:
|
||||||
process.env.TEXLIVE_IMAGE || 'quay.io/sharelatex/texlive-full:2017.1',
|
process.env.TEXLIVE_IMAGE || 'quay.io/sharelatex/texlive-full:2017.1',
|
||||||
env: {
|
env: {
|
||||||
|
|||||||
Reference in New Issue
Block a user