anchor.diff:          gcc \
           g++ \
           gnupg \
  -        libgcc \
  -        libstdc++ \
           linux-headers \
           make \
           paxctl \
           python \
           tar \
   
  +    && find ${NODE_PREFIX}/lib/node_modules/npm -name test -o -name .bin -type d | xargs rm -rf \
  +
       && rm -rf \
  -        /etc/ssl \
           /node_src \
  -        /usr/local/share/man \
           /tmp/* \
           /var/cache/apk/* \
  -        /root/.npm \
  -        /root/.node-gyp \
  -        /root/.gnupg \
  -        /usr/local/lib/node_modules/npm/man \
  -        /usr/local/lib/node_modules/npm/doc \
  -        /usr/local/lib/node_modules/npm/html
  +        ${NODE_PREFIX}/lib/node_modules/npm/man \
  +        ${NODE_PREFIX}/lib/node_modules/npm/doc \
  +        ${NODE_PREFIX}/lib/node_modules/npm/html
  +
   
   VOLUME /src
   WORKDIR /src
  
positive.code: 
  MAINTAINER Michael Kenney <mkenney@webbedlam.com>
  
  ENV PATH /root/bin:$PATH
  ENV NLS_LANG American_America.AL32UTF8
  ENV LANG C.UTF-8
  ENV LANGUAGE C.UTF-8
  ENV LC_ALL C.UTF-8
  ENV TIMEZONE America/Denver
  ENV NODE_VERSION v6.2.2
  
  RUN set -x \
      && apk update \
      && apk add --no-cache --repository "http://dl-cdn.alpinelinux.org/alpine/edge/testing"  \
          ca-certificates \
          curl \
          g++ \
  
negative.code:     && grep node-${NODE_VERSION}.tar.gz SHASUMS256.txt.asc | sha256sum -c - \
  
      # Compile and install
      && cd /node_src \
      && tar -zxf node-${NODE_VERSION}.tar.gz \
      && cd node-${NODE_VERSION} \
      && export GYP_DEFINES="linux_use_gold_flags=0" \
      && ./configure --prefix=${NODE_PREFIX} \
      && NPROC=$(grep -c ^processor /proc/cpuinfo 2>/dev/null || 1) \
      && make -j${NPROC} -C out mksnapshot BUILDTYPE=Release \
      && paxctl -cm out/Release/mksnapshot \
      && make -j${NPROC} \
      && make install \
      && paxctl -cm ${NODE_PREFIX}/bin/node \
  
      # Upgrade npm
      # Don't use npm to self-upgrade, see issue https://github.com/npm/npm/issues/9863
      && curl -L https://npmjs.org/install.sh | sh \
  
      # Install node packages
      && npm install --silent -g \
          gulp-cli \
          grunt-cli \
          bower \
  
  ##############################################################################
  # users
  