🐛 Consistently use pip install --use-feature=2020-resolver

This commit is contained in:
Gerber, Mike 2020-09-25 16:11:11 +02:00
parent 8fc5449fbf
commit 311e3eab88
6 changed files with 14 additions and 9 deletions

View file

@ -1,6 +1,6 @@
FROM my_ocrd_workflow-core
ARG PIP_INSTALL="pip3 install --no-cache-dir --use-feature=2020-resolver"
ENV TESSDATA_BEST_VERSION 4.0.0
ENV TESSDATA_PREFIX /usr/local/share/tessdata
@ -22,7 +22,7 @@ COPY data/tesseract-models/GT4HistOCR/GT4HistOCR_2000000.traineddata $TESSDATA_P
# Build pip installable stuff
RUN pip3 install --no-cache-dir \
RUN ${PIP_INSTALL} \
# Now the real stuff:
'ocrd_tesserocr >= 0.9.0'