mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-23 18:49:08 +08:00
Dockerifying using travis build script
This commit is contained in:
parent
0c596052dd
commit
71ad8c9bff
14
Dockerfile
Executable file
14
Dockerfile
Executable file
@ -0,0 +1,14 @@
|
|||||||
|
FROM ubuntu
|
||||||
|
MAINTAINER Ian Blenke <ian@blenke.com>
|
||||||
|
|
||||||
|
RUN apt-get update
|
||||||
|
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y git ruby bundler wget unzip
|
||||||
|
RUN gem install travis --no-ri --no-rdoc
|
||||||
|
RUN git clone https://github.com/travis-ci/travis-build ~/.travis/travis-build
|
||||||
|
RUN bundle install --gemfile ~/.travis/travis-build/Gemfile
|
||||||
|
|
||||||
|
ADD . /tesseract
|
||||||
|
WORKDIR /tesseract
|
||||||
|
|
||||||
|
RUN travis compile | sed -e "s/--branch\\\=\\\'\\\'/--branch=master/g" | bash
|
||||||
|
|
2
docker-compose.yml
Normal file
2
docker-compose.yml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
tesseract:
|
||||||
|
build: .
|
Loading…
Reference in New Issue
Block a user