Merge pull request #1678 from sameersbn/clean-build-caches

clean up the $HOME/.cache directory after installation
This commit is contained in:
Niclas Mietz 2018-07-28 10:35:29 +02:00 committed by GitHub
commit 4e9b6d5105
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -386,3 +386,6 @@ EOF
# purge build dependencies and cleanup apt
DEBIAN_FRONTEND=noninteractive apt-get purge -y --auto-remove ${BUILD_DEPENDENCIES}
rm -rf /var/lib/apt/lists/*
# clean up caches
exec_as_git rm -rf ${GITLAB_HOME}/.cache