diff --git a/dogfood/coder/main.tf b/dogfood/coder/main.tf index dfc1127ba387b..a9cb72b9c7984 100644 --- a/dogfood/coder/main.tf +++ b/dogfood/coder/main.tf @@ -496,6 +496,10 @@ resource "coder_agent" "dev" { #!/usr/bin/env bash set -eux -o pipefail + # Clean up the Go build cache to prevent the home volume from + # accumulating waste and growing too large. + go clean -cache + # Clean up the unused resources to keep storage usage low. # # WARNING! This will remove: