|
|
@ -39,6 +39,7 @@ COPY ocrd_logging.py /etc/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Build ocrd_olena
|
|
|
|
# Build ocrd_olena
|
|
|
|
|
|
|
|
# XXX .deb needs an update
|
|
|
|
RUN curl -sSL -O https://qurator-data.de/~mike.gerber/olena_2.1-0+ocrd-git/olena-bin_2.1-0+ocrd-git_amd64.deb && \
|
|
|
|
RUN curl -sSL -O https://qurator-data.de/~mike.gerber/olena_2.1-0+ocrd-git/olena-bin_2.1-0+ocrd-git_amd64.deb && \
|
|
|
|
dpkg -i --force-depends olena-bin_2.1-0+ocrd-git_amd64.deb && \
|
|
|
|
dpkg -i --force-depends olena-bin_2.1-0+ocrd-git_amd64.deb && \
|
|
|
|
rm -f olena-bin_2.1-0+ocrd-git_amd64.deb && \
|
|
|
|
rm -f olena-bin_2.1-0+ocrd-git_amd64.deb && \
|
|
|
@ -46,7 +47,7 @@ RUN curl -sSL -O https://qurator-data.de/~mike.gerber/olena_2.1-0+ocrd-git/olena
|
|
|
|
apt-get -f install -y && \
|
|
|
|
apt-get -f install -y && \
|
|
|
|
apt-get clean && rm -rf /var/lib/apt/lists/*
|
|
|
|
apt-get clean && rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN pip3 install --no-cache-dir --upgrade pip && \
|
|
|
|
RUN pip3 install --no-cache-dir --upgrade pip && \
|
|
|
|
curl -sSL -o ocrd_olena.tar.gz https://github.com/OCR-D/ocrd_olena/archive/fde4436.tar.gz && \
|
|
|
|
curl -sSL -o ocrd_olena.tar.gz https://github.com/OCR-D/ocrd_olena/archive/v1.1.4.tar.gz && \
|
|
|
|
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 && \
|
|
|
|