mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-06-21 00:52:53 +00:00
build, deploy: Add --pull option to force pulling base images again
Resolves: #1584 Change-type: minor
This commit is contained in:
@ -39,6 +39,7 @@ export interface DockerCliFlags extends DockerConnectionCliFlags {
|
||||
buildArg?: string[];
|
||||
'cache-from'?: string;
|
||||
nocache: boolean;
|
||||
pull?: boolean;
|
||||
squash: boolean;
|
||||
}
|
||||
|
||||
@ -88,6 +89,9 @@ Implements the same feature as the "docker build --cache-from" option.`,
|
||||
nocache: flags.boolean({
|
||||
description: "Don't use docker layer caching when building",
|
||||
}),
|
||||
pull: flags.boolean({
|
||||
description: 'Pull the base images again even if they exist locally',
|
||||
}),
|
||||
squash: flags.boolean({
|
||||
description: 'Squash newly built layers into a single new layer',
|
||||
}),
|
||||
|
Reference in New Issue
Block a user