anchor.diff: -FROM debian:jessie
  +from markadams/chromium-xvfb
   MAINTAINER Patrick Weygand
   
  -RUN apt-key update && apt-get update && apt-get install -y --no-install-recommends \
  +RUN apt-get update && apt-get install -y --no-install-recommends \
       bzr \
  -    ca-certificates \
  -    curl \
  -    git \
  -    openssh-client \
  +		ca-certificates \
  +		curl \
  +		git \
  +		openssh-client \
       openjdk-7-jre-headless \
  -    procps \
  -    wget \
  -  && rm -rf /var/lib/apt/lists/*
  +		procps \
  +		wget \
  +	&& rm -rf /var/lib/apt/lists/*
   
  -# hopefully I'll be able to hand pick this a bit more
   RUN apt-get update && apt-get install -y --no-install-recommends \
  -    autoconf \
  -    automake \
  -    bzip2 \
  -    file \
  -    g++ \
  -    gcc \
  -    imagemagick \
  -    libbz2-dev \
  -    libc6-dev \
  -    libcurl4-openssl-dev \
  -    libdb-dev \
  -    libevent-dev \
  -    libffi-dev \
  -    libgeoip-dev \
  -    libglib2.0-dev \
  -    libjpeg-dev \
  -    liblzma-dev \
  -    libmagickcore-dev \
  -    libmagickwand-dev \
  -    libncurses-dev \
  -    libpng-dev \
  -    libpq-dev \
  -    libreadline-dev \
  -    libsqlite3-dev \
  -    libssl-dev \
  -    libtool \
  -    libwebp-dev \
  -    libxml2-dev \
  -    libxslt-dev \
  -    libyaml-dev \
  -    make \
  -    patch \
  -    xz-utils \
  -    zlib1g-dev \
  -  && rm -rf /var/lib/apt/lists/*
  -
  -RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && \
  -    dpkg --unpack google-chrome-stable_current_amd64.deb && \
  -    apt-get install -f -y && \
  -    apt-get clean && \
  -    rm google-chrome-stable_current_amd64.deb && \
  -    echo 'bar'
  -
  -ADD xvfb-chromium /usr/bin/xvfb-chromium
  -RUN ln -s /usr/bin/xvfb-chromium /usr/bin/google-chrome
  -RUN ln -s /usr/bin/xvfb-chromium /usr/bin/chromium-browser
  +		autoconf \
  +		automake \
  +		bzip2 \
  +		file \
  +		g++ \
  +		gcc \
  +		imagemagick \
  +		libbz2-dev \
  +		libc6-dev \
  +		libcurl4-openssl-dev \
  +		libdb-dev \
  +		libevent-dev \
  +		libffi-dev \
  +		libgeoip-dev \
  +		libglib2.0-dev \
  +		libjpeg-dev \
  +		liblzma-dev \
  +		libmagickcore-dev \
  +		libmagickwand-dev \
  +		libmysqlclient-dev \
  +		libncurses-dev \
  +		libpng-dev \
  +		libpq-dev \
  +		libreadline-dev \
  +		libsqlite3-dev \
  +		libssl-dev \
  +		libtool \
  +		libwebp-dev \
  +		libxml2-dev \
  +		libxslt-dev \
  +		libyaml-dev \
  +		make \
  +		patch \
  +		xz-utils \
  +		zlib1g-dev \
  +	&& rm -rf /var/lib/apt/lists/*
   
   RUN set -ex \
     && for key in \
  
positive.code: # and don't create ".bundle" in all our apps
  ENV GEM_HOME /usr/local/bundle
  ENV BUNDLE_PATH="$GEM_HOME" \
    BUNDLE_BIN="$GEM_HOME/bin" \
    BUNDLE_SILENCE_ROOT_WARNING=1 \
    BUNDLE_APP_CONFIG="$GEM_HOME"
  ENV PATH $BUNDLE_BIN:$PATH
  RUN mkdir -p "$GEM_HOME" "$BUNDLE_BIN" \
    && chmod 777 "$GEM_HOME" "$BUNDLE_BIN"
  
negative.code: # some of ruby's build scripts are written in ruby
  # we purge this later to make sure our final image uses what we just built
  RUN set -ex \
  	&& buildDeps=' \
  		bison \
  		libgdbm-dev \
  		ruby \
  		autoconf \
  	' \
  	&& apt-get update \
  	&& apt-get install -y --no-install-recommends $buildDeps \
  	&& rm -rf /var/lib/apt/lists/* \
  	&& curl -fSL -o ruby.tar.gz "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \
  	&& echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.gz" | sha256sum -c - \
  	&& mkdir -p /usr/src/ruby \
  	&& tar -xzf ruby.tar.gz -C /usr/src/ruby --strip-components=1 \
  	&& rm ruby.tar.gz \
  	&& cd /usr/src/ruby \
  	&& { echo '#define ENABLE_PATH_CHECK 0'; echo; cat file.c; } > file.c.new && mv file.c.new file.c \
  	&& autoconf \
  	&& ./configure --disable-install-doc \
  	&& make -j"$(nproc)" \
  	&& make install \
  	&& apt-get purge -y --auto-remove $buildDeps \
  	&& gem update --system $RUBYGEMS_VERSION \
  	&& rm -r /usr/src/ruby
  
  ENV BUNDLER_VERSION 1.12.5
  
  