summaryrefslogtreecommitdiff
path: root/etc/tasks/999-clean.sh
diff options
context:
space:
mode:
Diffstat (limited to 'etc/tasks/999-clean.sh')
-rwxr-xr-xetc/tasks/999-clean.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/tasks/999-clean.sh b/etc/tasks/999-clean.sh
index 44f5d16..c791ec5 100755
--- a/etc/tasks/999-clean.sh
+++ b/etc/tasks/999-clean.sh
@@ -4,8 +4,17 @@ if [[ ! -f /.dockerenv ]]; then
exit 1
fi
+packages=(
+ gcc
+ gcc-c++
+ gcc-gfortran
+)
+sudo yum remove -y "${packages[@]}"
sudo yum clean all
+# Remove all static libraries
+sudo find "${TOOLCHAIN_LIB}" -name '*.a' -delete
+
sudo rm -rf "${HOME}/.astropy"
sudo rm -rf "${HOME}"/*
sudo rm -rf /tmp/*