feat: use slim image

This commit is contained in:
Michael Kriese 2020-05-07 09:49:29 +02:00
parent 8228a8e5b2
commit 7748c5006c
2 changed files with 3 additions and 1 deletions

View file

@ -1,7 +1,7 @@
class Docker {
readonly repository = 'renovate/renovate';
// renovate: datasource=docker depName=renovate/renovate versioning=docker
readonly tag = '19.231.8';
readonly tag = '19.231.8-slim';
image(): string {
return `${this.repository}:${this.tag}`;

View file

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