Skip to content

Commit 22af00a

Browse files
committed
Fixes #102 (tests folder removal)
1 parent 8179a07 commit 22af00a

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

3.5/alpine/Dockerfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,12 @@ RUN set -ex \
4444
&& make -j$(getconf _NPROCESSORS_ONLN) \
4545
&& make install \
4646
&& pip3 install --no-cache-dir --upgrade --ignore-installed pip==$PYTHON_PIP_VERSION \
47-
&& find /usr/local \
48-
\( -type d -a -name test -o -name tests \) \
49-
-o \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
50-
-exec rm -rf '{}' + \
47+
&& find /usr/local -depth \
48+
\( \
49+
\( -type d -a -name test -o -name tests \) \
50+
-o \
51+
\( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
52+
\) -exec rm -rf '{}' + \
5153
&& runDeps="$( \
5254
scanelf --needed --nobanner --recursive /usr/local \
5355
| awk '{ gsub(/,/, "\nso:", $2); print "so:" $2 }' \

0 commit comments

Comments
 (0)