File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ description: "Command reference for the Crossplane CLI"
1111<!-- vale Crossplane.Spelling = NO -->
1212<!-- vale cli-docs = YES -->
1313
14- This documentation is for the ` crossplane ` CLI ` v2.6.0-rc.0.12.gba5d263 ` .
14+ This documentation is for the ` crossplane ` CLI ` v2.6.0-rc.0.53.g49bfbeb ` .
1515
1616
1717<!-- vale Google.Headings = NO -->
@@ -1156,6 +1156,17 @@ The build reuses the dependency cache populated by `crossplane dependency add`
11561156and ` crossplane dependency update-cache ` . Override the cache location with
11571157` --cache-dir ` or the ` CROSSPLANE_XPKG_CACHE ` environment variable.
11581158
1159+ The CLI builds embedded functions onto a runtime base image from a registry, and
1160+ caches those image layers on disk under ` crossplane/base-images ` in your user
1161+ cache directory. A build that needs a layer already in the cache reads it
1162+ locally rather than downloading it again, so a build takes longer the first time
1163+ it needs a given base image. Projects share the cache.
1164+
1165+ Layer filenames are content digests, so a cached layer never goes stale and the
1166+ cache never needs invalidating. Nothing prunes it, though, so it grows as base
1167+ images change. Delete the directory to reclaim the space; the next build refills
1168+ what it needs.
1169+
11591170#### Examples
11601171
11611172Build the project in the current directory:
You can’t perform that action at this time.
0 commit comments