cleanup.sh 180 Bytes
Newer Older
Hongli Lai (Phusion)'s avatar
Hongli Lai (Phusion) committed
1
2
#!/bin/bash
set -e
3
source /bd_build/buildconfig
Hongli Lai (Phusion)'s avatar
Hongli Lai (Phusion) committed
4
5
6
set -x

apt-get clean
7
apt-get -y autoremove
8
rm -rf /bd_build
Hongli Lai (Phusion)'s avatar
Hongli Lai (Phusion) committed
9
rm -rf /tmp/* /var/tmp/*
10
rm -f /etc/dpkg/dpkg.cfg.d/docker-apt-speedup