Linux 修改磁盘分区

背景 最近,在编译打包镜像的老是会失败,查看jenkins编译日志,发现是磁盘空间不足导致的。报错日志如下: #14 97.58 go: failed to trim cache: open /root/.cache/go-build/trim.txt: no space left on device Dockerfile:41 ...