anchor.diff: -from markadams/chromium-xvfb
  +from markadams/chromium-xvfb:v1.0.0
   MAINTAINER Patrick Weygand
   
   RUN apt-get update && apt-get install -y --no-install-recommends \
  -		bzr \
  -		ca-certificates \
  -		curl \
  -		git \
  -		openssh-client \
  +    bzr \
  +    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 \
  -		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/*
  +    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 set -ex \
     && for key in \
  
positive.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
  
  
negative.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"
  