Merge pull request #1920 from balena-io/clarify-flag-nocache

Clarify -c flag in balena push
This commit is contained in:
bulldozer-balena[bot] 2020-07-08 16:10:53 +00:00 committed by GitHub
commit bf8f41d2b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 2 deletions

View File

@ -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

View File

@ -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,
},
{