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