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: .