anchor.diff:      LC_ALL=C.UTF-8 \
       TIMEZONE=America/Denver
   
  -ENV NODE_VERSION=v8.6.0 \
  -    NODE_PREFIX=/usr/local
  -
  +########################################################################
  +# Build tools
  +########################################################################
   RUN set -x \
  -    && echo "http://dl-4.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
  -    && echo "http://dl-4.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \
       && apk update \
       && apk add \
           ca-certificates \
           curl \
  -        g++ \
  -        gcc \
           git \
           gnupg \
  -        libgcc \
  -        libstdc++ \
  -        linux-headers \
  -        make \
           mercurial \
  -        openssh \
  -        paxctl \
  -        python \
           shadow \
           subversion \
  -        sudo \
  -        tar
  -
  -##############################################################################
  -# Install Node & NPM
  -# Based on https://github.com/mhart/alpine-node/blob/master/Dockerfile (thank you)
  -##############################################################################
  +        sudo
   
   RUN set -x \
  -    # Download and validate the NodeJs source
  -    && for key in \
  -        94AE36675C464D64BAFA68DD7434390BDBE9B9C5 \
  -        FD3A5288F042B6850C66B31F09FE44734EB7990E \
  -        71DCFD284A79C3B38668286BC97EC7A07EDE3FC1 \
  -        DD8F2338BAE7501E3DD5AC78C273792F7D83545D \
  -        C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8 \
  -        B9AE9905FFD7803F25714661B63B535A4C206CA9 \
  -        56730D5401028683275BD23C23EFEFE93C4CFFFE \
  -    ; do \
  -        gpg --keyserver pgp.mit.edu --recv-keys "$key"|| \
  -        gpg --keyserver keyserver.pgp.com --recv-keys "$key" || \
  -        gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key" ; \
  -    done \
  -    && mkdir /node_src \
  -    && cd /node_src \
  -    && curl -o node-${NODE_VERSION}.tar.gz -sSL https://nodejs.org/dist/${NODE_VERSION}/node-${NODE_VERSION}.tar.gz \
  -    && curl -o SHASUMS256.txt.asc -sSL https://nodejs.org/dist/${NODE_VERSION}/SHASUMS256.txt.asc \
  -    && gpg --verify SHASUMS256.txt.asc \
  -    && grep node-${NODE_VERSION}.tar.gz SHASUMS256.txt.asc | sha256sum -c -
  -
  -RUN set -x \
  -    # 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
  -
  -RUN set -x \
  +    && touch /root/.profile \
       # Install node packages
       && npm install --silent -g \
           gulp-cli \
           grunt-cli \
           bower \
           markdown-styles \
  -        yarn
  -
  -##############################################################################
  -# users
  -##############################################################################
  -
  -RUN set -x \
       # Create a dev user to use as the directory owner
       && addgroup dev \
       && adduser -D -s /bin/sh -G dev dev \
       && echo "dev:password" | chpasswd \
  -
  +    && curl --compressed -o- -L https://yarnpkg.com/install.sh | sh \
       # Setup wrapper scripts
       && curl -o /run-as-user https://raw.githubusercontent.com/mkenney/docker-scripts/master/container/run-as-user \
       && chmod 0755 /run-as-user
  
positive.code: FROM alpine:3.4
  
  LABEL version="1.0.0" \
        node="v8" \
        os="Alpine v3.4" \
        description="Node v8 compiled from source running on Alpine v3.4"
  
  ENV TERM=xterm \
      NLS_LANG=American_America.AL32UTF8 \
  
negative.code:         paxctl \
          python \
          tar \
      && rm -rf \
          /var/cache/apk/* \
          ${NODE_PREFIX}/lib/node_modules/npm/man \
          ${NODE_PREFIX}/lib/node_modules/npm/doc \
  