Skip to content

Commit 71ad8c9

Browse files
committed
Dockerifying using travis build script
1 parent 0c59605 commit 71ad8c9

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

Dockerfile

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
FROM ubuntu
2+
MAINTAINER Ian Blenke <[email protected]>
3+
4+
RUN apt-get update
5+
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y git ruby bundler wget unzip
6+
RUN gem install travis --no-ri --no-rdoc
7+
RUN git clone https://github.com/travis-ci/travis-build ~/.travis/travis-build
8+
RUN bundle install --gemfile ~/.travis/travis-build/Gemfile
9+
10+
ADD . /tesseract
11+
WORKDIR /tesseract
12+
13+
RUN travis compile | sed -e "s/--branch\\\=\\\'\\\'/--branch=master/g" | bash
14+

docker-compose.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
tesseract:
2+
build: .

0 commit comments

Comments
 (0)