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
2
2
MAINTAINER The ManyLinux project
3
3
4
4
ENV 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 \
170
170
# We do not need the Python test suites, or indeed the precompiled .pyc and
171
171
# .pyo files. Partially cribbed from:
172
172
# https://github.com/docker-library/python/blob/master/3.4/slim/Dockerfile
173
- find /opt/_internal \
173
+ find /opt/_internal -depth \
174
174
\( -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
177
176
178
177
for PYTHON in /opt/python/* /bin/python; do
179
178
# 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