Skip to content

Commit

Permalink
update docker: base on 19.10
Browse files Browse the repository at this point in the history
  • Loading branch information
kba committed Oct 18, 2019
1 parent 9e05d7f commit 3b21017
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:18.04
FROM ubuntu:19.10
MAINTAINER OCR-D
ENV DEBIAN_FRONTEND noninteractive
ENV PYTHONIOENCODING utf8
Expand All @@ -10,6 +10,7 @@ COPY ocrd ./ocrd
COPY ocrd_modelfactory ./ocrd_modelfactory/
COPY ocrd_models ./ocrd_models
COPY ocrd_utils ./ocrd_utils
COPY ocrd_validators/ ./ocrd_validators
COPY Makefile .
COPY README.md .
COPY LICENSE .
Expand All @@ -19,12 +20,12 @@ RUN apt-get update && \
make \
sudo \
git \
libglib2.0.0 \
libxext6
libglib2.0.0
# libxext6
# libsm6 \
# libxrender1 \
RUN make deps-ubuntu
RUN pip3 install --upgrade pip
RUN make deps install
RUN make deps-ubuntu install

ENTRYPOINT ["/usr/local/bin/ocrd"]
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ PIP_INSTALL = pip install

# Dependencies for deployment in an ubuntu/debian linux
deps-ubuntu:
sudo apt install -y python3 python3-pip
sudo apt-get install -y python3 python3-pip

# Install test python deps via pip
deps-test:
Expand Down

0 comments on commit 3b21017

Please sign in to comment.