From 71ad8c9bff102eb8184e4ed0a9bc7f4860fb416a Mon Sep 17 00:00:00 2001 From: Ian Blenke Date: Fri, 18 Mar 2016 00:32:35 -0400 Subject: [PATCH] Dockerifying using travis build script --- Dockerfile | 14 ++++++++++++++ docker-compose.yml | 2 ++ 2 files changed, 16 insertions(+) create mode 100755 Dockerfile create mode 100644 docker-compose.yml diff --git a/Dockerfile b/Dockerfile new file mode 100755 index 00000000..b7645cc9 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +FROM ubuntu +MAINTAINER Ian Blenke + +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 + diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 00000000..22d4501b --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,2 @@ +tesseract: + build: .