The .stack-work
is the local build and my app isn’t that big. The main problem is dependencies. See the size of the ~/.stack
folder:
root@702963a22c01:~/.stack# du -sh * | sort -hr
2.3G programs
1.8G pantry
677M snapshots
46M setup-exe-cache
236K stack.sqlite3
120K global-project
52K setup-exe-src
4.0K config.yaml
0 stack.sqlite3.pantry-write-lock
I don’t know if I could safely delete folders programs
and pantry
or if by doing so stack will start redownloading stuff when my docker image is actually compiling my code. I don’t know either if snapshots
can be trimmed a bit more either.