Force chardet 4.0.0, solves #121

pull/1/head
Jason Kendall 2021-06-16 12:22:56 -04:00
parent 1daa83a1dd
commit 6f48fd2b65
1 changed files with 5 additions and 0 deletions

View File

@ -25,6 +25,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
cd /srv/faup/build || exit; cmake .. && make install; \
cd /srv/faup/src/lib/bindings/python || exit; pip3 wheel --no-cache-dir -w /wheel/ .
# Remove extra packages due to incompatible requirements.txt files
WORKDIR /wheel
RUN find . -name "chardet*" | grep -v "chardet-4.0.0" | xargs rm -f
FROM python:3.7-slim-buster
RUN apt-get update && apt-get install -y --no-install-recommends \