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

exclude mounts (e.g.: /proc) from cleanup

This commit is contained in:
Matyas Markovics
2019-03-13 09:59:33 +01:00
parent 089258a746
commit 9d29b23db2

View File

@@ -9,7 +9,7 @@ rm -rf /tmp/* /var/tmp/*
rm -rf /var/lib/apt/lists/*
# clean up python bytecode
find / -name *.pyc -delete
find / -name *__pycache__* -delete
find / -mount -name *.pyc -delete
find / -mount -name *__pycache__* -delete
rm -f /etc/ssh/ssh_host_*