Created
April 13, 2016 21:20
-
-
Save ianblenke/d0c820f0d4eee7b1b373085d213c570a to your computer and use it in GitHub Desktop.
Dockerfile for building tesseract from source using .travis.yml
This file contains hidden or 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
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment