Better way to remove extra pip wheel packages. Fixes #101

pull/1/head
Jason Kendall 2021-03-10 13:01:52 -05:00
parent 9ae653cd9c
commit 1684553045
1 changed files with 2 additions and 3 deletions

View File

@ -73,9 +73,8 @@ FROM debian:buster-slim as python-build
# Remove extra packages due to incompatible requirements.txt files
WORKDIR /wheels
RUN rm Sphinx-1.5.5-py2.py3-none-any.whl \
Sphinx-1.3.6-py2.py3-none-any.whl \
tox-3.22.0-py2.py3-none-any.whl
RUN find . -name "tox*" | grep -v "tox-2.7.0" | xargs rm -f
RUN find . -name "Sphinx*" | grep -v "Sphinx-1.8.5" | xargs rm -f
FROM debian:buster-slim