backend-common: Use Record<string, string> for envVars in runDockerContainer

Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
This commit is contained in:
Himanshu Mishra
2021-03-08 14:00:17 +01:00
parent c0c26244db
commit 3f2a0efe01
5 changed files with 16 additions and 9 deletions
@@ -108,7 +108,7 @@ export class TechdocsGenerator implements GeneratorBase {
workingDir: '/input',
// Set the home directory inside the container as something that applications can
// write to, otherwise they will just fail trying to write to /
envVars: ['HOME=/tmp'],
envVars: { HOME: '/tmp' },
dockerClient,
});
this.logger.info(