Files
ollama/scripts/buildkitd.toml.example
Daniel Hiltgen 42e6f56c2a ci: speed up release builds (#15982)
* ci: speed up release builds

This should help speed things up for release.  It also will help
speed up local developer builds a little.

* ci: dedup linux build steps and optimize

* review comments
2026-05-15 14:53:15 -07:00

22 lines
510 B
Plaintext

# Suggested BuildKit GC config for ollama local development.
#
[worker.oci]
gc = true
gckeepstorage = "150GB"
[[worker.oci.gcpolicy]]
filters = ["type==source.local", "type==source.git.checkout"]
keepDuration = "48h"
maxUsedSpace = "5GB"
[[worker.oci.gcpolicy]]
filters = ["type==exec.cachemount"]
keepDuration = "168h" # 7 days
maxUsedSpace = "20GB"
[[worker.oci.gcpolicy]]
keepDuration = "720h" # 30 days
reservedSpace = "20GB"
maxUsedSpace = "150GB"
minFreeSpace = "50GB"