Skip to content

Commit 3020b11

Browse files
committed
fix(persist-ccache-cache): rename cache_size option to ccache_maxsize
The option 'cache_size' was not being correctly mapped to the CCACHE_MAXSIZE environment variable used by the install script. DevContainer Features convert option names to environment variables using the pattern: ${FEATURE_ID}_${OPTION_NAME_UPPERCASE} Changed the option from 'cache_size' to 'ccache_maxsize' to ensure correct mapping to CCACHE_MAXSIZE in the initialization script. Fixes the issue where ccache_maxsize setting was being ignored.
1 parent 48cd379 commit 3020b11

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/persist-ccache-cache/devcontainer-feature.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"description": "Persist ccache compiler cache across container rebuilds.",
66
"documentationURL": "https://github.com/ckagerer/devcontainer-features/tree/main/src/persist-ccache-cache",
77
"options": {
8-
"cache_size": {
8+
"ccache_maxsize": {
99
"type": "string",
1010
"default": "5G",
1111
"description": "Maximum ccache size (e.g., 5G, 10GB, 50G). Default: 5G"

0 commit comments

Comments
 (0)