File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1- FROM centos:5.11
1+ FROM centos:5
22MAINTAINER The ManyLinux project
33
44ENV LC_ALL en_US.UTF-8
Original file line number Diff line number Diff line change @@ -170,10 +170,9 @@ find /opt/_internal -type f -print0 \
170170# We do not need the Python test suites, or indeed the precompiled .pyc and
171171# .pyo files. Partially cribbed from:
172172# https://github.com/docker-library/python/blob/master/3.4/slim/Dockerfile
173- find /opt/_internal \
173+ find /opt/_internal -depth \
174174 \( -type d -a -name test -o -name tests \) \
175- -o \( -type f -a -name ' *.pyc' -o -name ' *.pyo' \) \
176- -print0 | xargs -0 rm -f
175+ -o \( -type f -a -name ' *.pyc' -o -name ' *.pyo' \) | xargs rm -rf
177176
178177for PYTHON in /opt/python/* /bin/python; do
179178 # Smoke test to make sure that our Pythons work, and do indeed detect as
You can’t perform that action at this time.
0 commit comments