diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2019-01-29 14:38:49 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2019-01-29 14:38:49 -0500 |
commit | 73a53c48901e120a06d221c8cb4f02076e3b9888 (patch) | |
tree | 8fb5e157dc19b8b8d22af12b5a51288802d5b660 /etc/tasks/999-clean.sh | |
parent | 92f2ea6ed46ffae5302a47452d816b5dc5784eb7 (diff) | |
download | docker-python-73a53c48901e120a06d221c8cb4f02076e3b9888.tar.gz |
Introduce real toolchain
Diffstat (limited to 'etc/tasks/999-clean.sh')
-rwxr-xr-x | etc/tasks/999-clean.sh | 9 |
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/* |