Skip to content

ocular 的安装测试

wanghaisheng edited this page Aug 17, 2016 · 2 revisions

https://github.com/tberg12/ocular/tree/master/sample_images/english


[wanghs@db2 ocular-ocr]$ cat Dockerfile
FROM hub.c.163.com/muicoder/jdk7:dcevm
# docker build -t dc/ocular .

RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/' /etc/apk/repositories


RUN apk add --no-cache  \
  git


RUN cd /tmp && git clone  https://github.com/tberg12/ocular.git && \
    cd ocular && ./make_jar.sh