added docker runner into core codebase

supports both local command runner and docker runner

added docker files for tex live

also fixed tests so they exit correctly & removed debug lines
This commit is contained in:
Henry Oswald
2018-03-05 11:02:31 +00:00
parent 3bdd50a231
commit b202af3cf2
16 changed files with 1108 additions and 59 deletions

View File

@@ -29,9 +29,9 @@ module.exports =
project_cache_length_ms: 1000 * 60 * 60 * 24
parallelFileDownloads:1
if process.env["COMMAND_RUNNER"]
if process.env["DOCKER_RUNNER"]
module.exports.clsi =
commandRunner: process.env["COMMAND_RUNNER"]
dockerRunner: process.env["DOCKER_RUNNER"] == "true"
docker:
image: process.env["TEXLIVE_IMAGE"] or "quay.io/sharelatex/texlive-full:2017.1"
env: