Merge pull request #5839 from overleaf/csh-issue-5677-clsi-env

Add CLSI env var to indicate running in CLSI

GitOrigin-RevId: 9d55b001a32ecf7fa792023312c31bd9e6b64646
This commit is contained in:
Christopher Hoskin 2021-11-18 12:10:00 +00:00 committed by Copybot
parent 8b136b6652
commit d8f4780679

View file

@ -86,6 +86,7 @@ if (process.env.DOCKER_RUNNER) {
process.env.TEXLIVE_IMAGE || 'quay.io/sharelatex/texlive-full:2017.1', process.env.TEXLIVE_IMAGE || 'quay.io/sharelatex/texlive-full:2017.1',
env: { env: {
HOME: '/tmp', HOME: '/tmp',
CLSI: 1,
}, },
socketPath: '/var/run/docker.sock', socketPath: '/var/run/docker.sock',
user: process.env.TEXLIVE_IMAGE_USER || 'tex', user: process.env.TEXLIVE_IMAGE_USER || 'tex',