Dockerfile 584 B

1234567891011121314151617
  1. # Dockerfile for local Travis build test
  2. FROM ubuntu
  3. LABEL maintainer="Ian Blenke <ian@blenke.com>"
  4. RUN apt-get update
  5. RUN DEBIAN_FRONTEND=noninteractive apt-get install -y cmake curl git ruby bundler wget unzip \
  6. && apt-get clean \
  7. && rm -rf /var/lib/apt/lists/*
  8. RUN gem install bundler travis --no-ri --no-rdoc
  9. RUN git clone --depth 1 https://github.com/travis-ci/travis-build ~/.travis/travis-build
  10. RUN bundle install --gemfile ~/.travis/travis-build/Gemfile
  11. ADD . /tesseract
  12. WORKDIR /tesseract
  13. RUN travis compile | sed -e "s/--branch\\\=\\\'\\\'/--branch=master/g" | bash
Tip!

Press p or to see the previous file or, n or to see the next file