m2 23c8920625
chore(ci): use cache-mount and bind mounts (#1388)
* chore: Always update nspr & nss*

* feat: use cache mounts to speed up builds

Signed-off-by: m2Giles <69128853+m2Giles@users.noreply.github.com>

* change mount paths

* handle /var/tmp

* var-tmp for nvidia

---------

Signed-off-by: m2Giles <69128853+m2Giles@users.noreply.github.com>
2024-07-21 19:38:12 +00:00

9 lines
129 B
Bash
Executable File

#!/usr/bin/bash
set -eoux pipefail
shopt -s extglob
rm -rf /tmp/* || true
rm -rf /var/!(cache)
rm -rf /var/cache/!(rpm-ostree)