🐛 ocrd_olena: Update dependency installation

master
Mike Gerber 1 year ago
parent 24ce314d5b
commit af6da489e2

@ -24,9 +24,9 @@ RUN curl -sSL --retry 3 -o ocrd_olena.tar.gz https://github.com/OCR-D/ocrd_olena
mkdir ocrd_olena && \ mkdir ocrd_olena && \
tar xvz -C ocrd_olena --strip-components=1 -f ocrd_olena.tar.gz && \ tar xvz -C ocrd_olena --strip-components=1 -f ocrd_olena.tar.gz && \
cd ocrd_olena && \ cd ocrd_olena && \
sed -i 's/^install: deps$/install:/' Makefile && \ sed -i 's/^install: deps/install:/' Makefile && \
${PIP_INSTALL} ocrd && \ ${PIP_INSTALL} ocrd && \
make deps-ubuntu && \ apt install xmlstarlet && \
make install PREFIX=/usr/local && \ make install PREFIX=/usr/local && \
cd .. && rm -rf ocrd_olena ocrd_olena.tar.gz cd .. && rm -rf ocrd_olena ocrd_olena.tar.gz

Loading…
Cancel
Save