mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-06-09 14:49:53 +02:00
🐛 Consistently use pip install --use-feature=2020-resolver
This commit is contained in:
parent
8fc5449fbf
commit
311e3eab88
6 changed files with 14 additions and 9 deletions
|
@ -1,7 +1,9 @@
|
|||
FROM my_ocrd_workflow-core
|
||||
|
||||
ARG PIP_INSTALL="pip3 install --no-cache-dir --use-feature=2020-resolver"
|
||||
ENV OCRD_OLENA_VERSION 1.2.0
|
||||
|
||||
|
||||
# Build ocrd_olena
|
||||
RUN apt-get update && \
|
||||
apt-get install -y \
|
||||
|
@ -19,7 +21,7 @@ RUN curl -sSL --retry 3 -o ocrd_olena.tar.gz https://github.com/OCR-D/ocrd_olena
|
|||
tar xvz -C ocrd_olena --strip-components=1 -f ocrd_olena.tar.gz && \
|
||||
cd ocrd_olena && \
|
||||
sed -i 's/^install: deps$/install:/' Makefile && \
|
||||
pip3 install --no-cache-dir --use-feature=2020-resolver ocrd && \
|
||||
${PIP_INSTALL} ocrd && \
|
||||
make install PREFIX=/usr/local && \
|
||||
cd .. && rm -rf ocrd_olena ocrd_olena.tar.gz
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue