Permalink
Browse files

Dockerifying using travis build script

  • Loading branch information...
ianblenke committed Mar 18, 2016
1 parent 0c59605 commit 71ad8c9bff102eb8184e4ed0a9bc7f4860fb416a
Showing with 16 additions and 0 deletions.
  1. +14 −0 Dockerfile
  2. +2 −0 docker-compose.yml
View
@@ -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
View
@@ -0,0 +1,2 @@
tesseract:
build: .

0 comments on commit 71ad8c9

Please sign in to comment.