1
0
mirror of https://github.com/phusion/baseimage-docker.git synced 2026-03-26 12:29:07 +00:00

Merge pull request #376 from phusion/revert-188-preserve-some-build-scripts

Revert "Preserve /build/{cleanup.sh,buildconfig} files."
This commit is contained in:
Travis Rowland
2017-03-21 02:48:11 -07:00
committed by GitHub

View File

@@ -4,7 +4,7 @@ source /bd_build/buildconfig
set -x set -x
apt-get clean apt-get clean
ls -d -1 /bd_build/**/* | grep -v "cleanup.sh" | grep -v "buildconfig" | xargs rm -f rm -rf /bd_build
rm -rf /tmp/* /var/tmp/* rm -rf /tmp/* /var/tmp/*
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*