File tree Expand file tree Collapse file tree 6 files changed +6
-0
lines changed
Expand file tree Collapse file tree 6 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ RUN set -ex; \
3535 wget -O pypy.tar.bz2 "https://bitbucket.org/pypy/pypy/downloads/pypy2-v${PYPY_VERSION}-${pypyArch}.tar.bz2" ; \
3636 echo "$sha256 *pypy.tar.bz2" | sha256sum -c; \
3737 tar -xjC /usr/local --strip-components=1 -f pypy.tar.bz2; \
38+ find /usr/local/lib-python -depth -type d -a \( -name test -o -name tests \) -exec rm -rf '{}' +; \
3839 rm pypy.tar.bz2; \
3940 \
4041 pypy --version
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ RUN set -ex; \
4343 wget -O pypy.tar.bz2 "https://bitbucket.org/pypy/pypy/downloads/pypy2-v${PYPY_VERSION}-${pypyArch}.tar.bz2" ; \
4444 echo "$sha256 *pypy.tar.bz2" | sha256sum -c; \
4545 tar -xjC /usr/local --strip-components=1 -f pypy.tar.bz2; \
46+ find /usr/local/lib-python -depth -type d -a \( -name test -o -name tests \) -exec rm -rf '{}' +; \
4647 rm pypy.tar.bz2; \
4748 \
4849 pypy --version; \
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ RUN set -ex; \
3535 wget -O pypy.tar.bz2 "https://bitbucket.org/pypy/pypy/downloads/pypy3-v${PYPY_VERSION}-${pypyArch}.tar.bz2" ; \
3636 echo "$sha256 *pypy.tar.bz2" | sha256sum -c; \
3737 tar -xjC /usr/local --strip-components=1 -f pypy.tar.bz2; \
38+ find /usr/local/lib-python -depth -type d -a \( -name test -o -name tests \) -exec rm -rf '{}' +; \
3839 rm pypy.tar.bz2; \
3940 \
4041 pypy3 --version
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ RUN set -ex; \
4343 wget -O pypy.tar.bz2 "https://bitbucket.org/pypy/pypy/downloads/pypy3-v${PYPY_VERSION}-${pypyArch}.tar.bz2" ; \
4444 echo "$sha256 *pypy.tar.bz2" | sha256sum -c; \
4545 tar -xjC /usr/local --strip-components=1 -f pypy.tar.bz2; \
46+ find /usr/local/lib-python -depth -type d -a \( -name test -o -name tests \) -exec rm -rf '{}' +; \
4647 rm pypy.tar.bz2; \
4748 \
4849 pypy3 --version; \
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ RUN set -ex; \
3434 wget -O pypy.tar.bz2 "https://bitbucket.org/pypy/pypy/downloads/%%TAR%%-v${PYPY_VERSION}-${pypyArch}.tar.bz2"; \
3535 echo "$sha256 *pypy.tar.bz2" | sha256sum -c; \
3636 tar -xjC /usr/local --strip-components=1 -f pypy.tar.bz2; \
37+ find /usr/local/lib-python -depth -type d -a \( -name test -o -name tests \) -exec rm -rf '{}' +; \
3738 rm pypy.tar.bz2; \
3839 \
3940 %%CMD%% --version; \
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ RUN set -ex; \
2626 wget -O pypy.tar.bz2 "https://bitbucket.org/pypy/pypy/downloads/%%TAR%%-v${PYPY_VERSION}-${pypyArch}.tar.bz2"; \
2727 echo "$sha256 *pypy.tar.bz2" | sha256sum -c; \
2828 tar -xjC /usr/local --strip-components=1 -f pypy.tar.bz2; \
29+ find /usr/local/lib-python -depth -type d -a \( -name test -o -name tests \) -exec rm -rf '{}' +; \
2930 rm pypy.tar.bz2; \
3031 \
3132 %%CMD%% --version
You can’t perform that action at this time.
0 commit comments