We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8179a07 commit 22af00aCopy full SHA for 22af00a
3.5/alpine/Dockerfile
@@ -44,10 +44,12 @@ RUN set -ex \
44
&& make -j$(getconf _NPROCESSORS_ONLN) \
45
&& make install \
46
&& 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 '{}' + \
+ && find /usr/local -depth \
+ \( \
+ \( -type d -a -name test -o -name tests \) \
+ -o \
51
+ \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
52
+ \) -exec rm -rf '{}' + \
53
&& runDeps="$( \
54
scanelf --needed --nobanner --recursive /usr/local \
55
| awk '{ gsub(/,/, "\nso:", $2); print "so:" $2 }' \
0 commit comments