Skip to content

Commit

Permalink
Merge pull request tesseract-ocr#282 from ianblenke/master
Browse files Browse the repository at this point in the history
Dockerify using travis build script
  • Loading branch information
amitdo authored Jun 19, 2016
2 parents 034d666 + 71ad8c9 commit ad66dd2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Dockerfile
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

2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
tesseract:
build: .

0 comments on commit ad66dd2

Please sign in to comment.