mirror of
https://github.com/ollama/ollama.git
synced 2026-06-02 21:34:51 -04:00
* 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
22 lines
510 B
Plaintext
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"
|