forked from Docker/baseimage-docker
Merge pull request #523 from pmav99/python_bytecode
Remove python bytecode
This commit is contained in:
@@ -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_*
|
||||||
|
|||||||
Reference in New Issue
Block a user