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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy