mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-19 05:37:51 +00:00
Merge pull request #1920 from balena-io/clarify-flag-nocache
Clarify -c flag in balena push
This commit is contained in:
commit
bf8f41d2b4
@ -2074,7 +2074,11 @@ Alternative Dockerfile name/path, relative to the source folder
|
||||
|
||||
#### --nocache, -c
|
||||
|
||||
Don't use cache when building this project
|
||||
Don't use cached layers of previously built images for this project. This ensures
|
||||
that the latest base image and packages are pulled. Note that build logs may still
|
||||
display the message _"Pulling previous images for caching purposes" (as the cloud
|
||||
builder needs previous images to compute delta updates), but the logs will not
|
||||
display the "Using cache" lines for each build step of a Dockerfile.
|
||||
|
||||
#### --noparent-check
|
||||
|
||||
|
@ -192,7 +192,12 @@ export const push: CommandDefinition<
|
||||
{
|
||||
signature: 'nocache',
|
||||
alias: 'c',
|
||||
description: "Don't use cache when building this project",
|
||||
description: stripIndent`
|
||||
Don't use cached layers of previously built images for this project. This ensures
|
||||
that the latest base image and packages are pulled. Note that build logs may still
|
||||
display the message _"Pulling previous images for caching purposes" (as the cloud
|
||||
builder needs previous images to compute delta updates), but the logs will not
|
||||
display the "Using cache" lines for each build step of a Dockerfile.`,
|
||||
boolean: true,
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user