/usr/local/lib/python3.7/ did not exist so just don't cleen it for now

This commit is contained in:
MReenen 2022-03-16 14:37:45 +01:00
parent 1f3e6051db
commit ce8cad018e

View File

@ -44,11 +44,6 @@ RUN \
&& curl https://bootstrap.pypa.io/get-pip.py | python3 \
&& pip3 install --no-cache-dir -r /tmp/requirements.txt \
\
&& find /usr/local/lib/python3.7/ -type d -name tests -depth -exec rm -rf {} \; \
&& find /usr/local/lib/python3.7/ -type d -name test -depth -exec rm -rf {} \; \
&& find /usr/local/lib/python3.7/ -name __pycache__ -depth -exec rm -rf {} \; \
&& find /usr/local/lib/python3.7/ -name "*.pyc" -depth -exec rm -f {} \; \
\
&& apt-get purge -y --auto-remove \
dirmngr \
gpg-agent \