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

Remove python bytecode

This commit is contained in:
Panos Mavrogiorgos
2019-01-04 08:01:33 +02:00
parent 60e2cdd375
commit d0b150c5ef

View File

@@ -8,4 +8,8 @@ find /bd_build/ -not \( -name 'bd_build' -or -name 'buildconfig' -or -name 'clea
rm -rf /tmp/* /var/tmp/* rm -rf /tmp/* /var/tmp/*
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
# clean up python bytecode
find / -name *.pyc -delete
find / -name *__pycache__* -delete
rm -f /etc/ssh/ssh_host_* rm -f /etc/ssh/ssh_host_*