tools-deps

stephenmhopper 2024-01-26T20:36:05.160749Z

What directories does the clojure CLI use for caching? I'm setting up Docker builds and trying to mount in directories to prevent constant checkouts / downloads. So far, I'm just doing RUN --mount=type=cache,id=mavencache,target=/root/.m2/repository but that doesn't seem sufficient

Alex Miller (Clojure team) 2024-01-26T20:39:24.019299Z

Maven: ~/.m2/repository Git: ~/.gitlibs CP cache: .cpcache/

Alex Miller (Clojure team) 2024-01-26T20:39:32.945319Z

more info at https://clojure.org/reference/clojure_cli#dirs

stephenmhopper 2024-01-26T20:40:05.100099Z

haha. thanks! I don't know why I struggled to find this information when it's right there in the docs

Alex Miller (Clojure team) 2024-01-26T20:41:05.229469Z

I guess ~/.clojure for the config dir is probably also useful