chore: standardise docker run arguments (full argument)

This commit is contained in:
Jeroen de Bruijn 2020-05-07 18:43:07 +02:00
parent 67802d02ed
commit 2eddca5679
No known key found for this signature in database
GPG key ID: 3A2677A1DF38FF9F

View file

@ -26,9 +26,9 @@ class Renovate {
`--env ${this.configFileEnv}=${this.configFileMountPath()}`, `--env ${this.configFileEnv}=${this.configFileMountPath()}`,
`--env ${this.tokenEnv}=${this.token}`, `--env ${this.tokenEnv}=${this.token}`,
`--volume ${this.configFile}:${this.configFileMountPath()}`, `--volume ${this.configFile}:${this.configFileMountPath()}`,
`-v /var/run/docker.sock:/var/run/docker.sock`, `--volume /var/run/docker.sock:/var/run/docker.sock`,
`-v /tmp:/tmp`, `--volume /tmp:/tmp`,
`-u 1000:${group}`, `--user 1000:${group}`,
this.docker.image(), this.docker.image(),
]; ];
const command = `docker run ${commandArguments.join(' ')}`; const command = `docker run ${commandArguments.join(' ')}`;