anchor.diff:                            ruby \
       && git clone git://github.com/ariya/phantomjs.git \
       && cd phantomjs \
  -    && git checkout PHANTOMJS_VERSION \
  +    && git checkout $PHANTOMJS_VERSION \
       && git submodule init \
       && git submodule update \
       && sed -i '/platform:/s@^@//@' src/ghostdriver/hub_register.js \
  -    && echo y | ./build.py 2>/dev/null 1>&2 \
  +    && echo y | ./build.py \
       && install -v -s -m 755 bin/phantomjs /usr/local/bin/ \
       && cd .. \
       && rm -rf phantomjs \
  
positive.code:                                       ruby \
      && rm -rf /var/lib/apt/lists/*
  
  CMD ["/usr/local/bin/phantomjs"]
  
negative.code: #
  
  FROM ubuntu:14.04
  MAINTAINER EasyPi Software Foundation
  
  ENV PHANTOMJS_VERSION 2.1.1
  
  