create home and tmp directories in compile dir

This commit is contained in:
Brian Gough
2020-05-13 10:18:27 +01:00
parent 7254a025ae
commit ab8fb8351c
2 changed files with 6 additions and 2 deletions

View File

@@ -71,7 +71,8 @@ if (process.env.DOCKER_RUNNER) {
image:
process.env.TEXLIVE_IMAGE || 'quay.io/sharelatex/texlive-full:2017.1',
env: {
HOME: '/tmp'
HOME: process.env.TEXLIVE_HOME || '/tmp',
TMPDIR: process.env.TEXLIVE_TMPDIR || '/tmp'
},
socketPath: '/var/run/docker.sock',
user: process.env.TEXLIVE_IMAGE_USER || 'tex'