forked from tesseract-ocr/tesseract
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request tesseract-ocr#282 from ianblenke/master
Dockerify using travis build script
- Loading branch information
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM ubuntu | ||
MAINTAINER Ian Blenke <[email protected]> | ||
|
||
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
tesseract: | ||
build: . |