From d688ee4c60f3899a1156b44ffb32d3df84277a11 Mon Sep 17 00:00:00 2001 From: Gerasimos Chourdakis Date: Wed, 10 Feb 2021 20:50:46 +0100 Subject: [PATCH] Clean the APT cache at post-install to save space --- provisioning/post-install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/provisioning/post-install.sh b/provisioning/post-install.sh index 2dfc53d..49d93ea 100644 --- a/provisioning/post-install.sh +++ b/provisioning/post-install.sh @@ -4,4 +4,7 @@ set -ex # Create a link to the default shared folder ln -sf /vagrant/ /home/vagrant/Desktop/ mv /home/vagrant/Desktop/vagrant /home/vagrant/Desktop/shared -chown vagrant:vagrant /home/vagrant/Desktop/shared \ No newline at end of file +chown vagrant:vagrant /home/vagrant/Desktop/shared + +# Cleanup the APT cache to save space +apt-get clean \ No newline at end of file