Dockerfile 467 B

12345678910111213
  1. FROM ruby:2.3.1
  2. RUN apt-get update -qq && apt-get install -y build-essential libpq-dev cmake
  3. RUN curl -L https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 | tar xjvf -
  4. ENV PATH=/phantomjs-2.1.1-linux-x86_64/bin:$PATH
  5. RUN mkdir /test
  6. RUN mkdir /test/features
  7. WORKDIR /test
  8. # ADD features /test/features
  9. ADD Gemfile /test/Gemfile
  10. ADD Gemfile.lock /test/Gemfile.lock
  11. RUN bundle install -j 8
  12. CMD ["cucumber", "features/login.feature"]