quick hack to overright image name further down stack
This commit is contained in:
@@ -38,6 +38,10 @@ module.exports = DockerRunner =
|
||||
if !image?
|
||||
image = Settings.clsi.docker.image
|
||||
|
||||
if Settings.texliveImageNameOveride?
|
||||
tag = image.split(":")[1]
|
||||
image = "#{Settings.texliveImageNameOveride}:#{tag}"
|
||||
|
||||
options = DockerRunner._getContainerOptions(command, image, volumes, timeout, environment)
|
||||
fingerprint = DockerRunner._fingerprintContainer(options)
|
||||
options.name = name = "project-#{project_id}-#{fingerprint}"
|
||||
|
||||
@@ -69,7 +69,7 @@ module.exports = RequestParser =
|
||||
sanitizedRootResourcePath = RequestParser._sanitizePath(rootResourcePath)
|
||||
response.rootResourcePath = RequestParser._checkPath(sanitizedRootResourcePath)
|
||||
|
||||
if settings.texliveImageNameOveride?
|
||||
if settings.texliveImageNameOveride? and compile.options?.imageName?
|
||||
tag = compile.options.imageName.split(":")[1]
|
||||
response.imageName = "#{settings.texliveImageNameOveride}:#{tag}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user