Skip to content

Commit

Permalink
Upgrade to Ubuntu 19.10
Browse files Browse the repository at this point in the history
  • Loading branch information
patrit committed Dec 3, 2019
1 parent c229a63 commit ba74081
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,26 @@
#RUN apk add --no-cache \
# -X http://dl-cdn.alpinelinux.org/alpine/edge/testing \
# tesseract-ocr-dev make g++ poco-dev python3
FROM ubuntu:18.04 as builder
FROM ubuntu:19.10 as builder
RUN apt-get update && apt-get install -y libtesseract-dev make g++ libpoco-dev python3
RUN mkdir /app
WORKDIR /app
COPY . /app
RUN make -j4
RUN make clean && make -j4

#FROM alpine:3.10.1
#RUN apk add --no-cache \
# -X http://dl-cdn.alpinelinux.org/alpine/edge/testing \
# tesseract-ocr poco
FROM ubuntu:18.04
FROM ubuntu:19.10
RUN apt-get update && \
apt-get install -y \
libtesseract4 \
libpocojson50 \
libpoconet50 \
libpocoutil50
libpocojson62 \
libpoconet62 \
libpocoutil62 && \
apt-get clean && \
rm -fr /var/lib/apt/lists/* /tmp/* /var/tmp/*
WORKDIR /app
COPY tesseract tesseract
COPY --from=builder /app/server server
Expand Down

0 comments on commit ba74081

Please sign in to comment.