anchor.diff:  
   COPY package.json /usr/src/app/
   
  -RUN apk update && apk add python python3 php5-phar php5-openssl php5-cli php5-json php5-zlib php5-xml
  +RUN apk update && apk add python python3 php5-phar php5-openssl php5-cli php5-json php5-zlib php5-xml git
   
   ENV NODE_VERSION=v5.12.0 \
  -    NPM_VERSION=3
  +    NPM_VERSION=3 \
  +    CONFIG_FLAGS="--fully-static" \
  +    DEL_PKGS="libstdc++" \
  +    RM_DIRS=/usr/include
  +
  +WORKDIR /
  +
  +# sed line below is for aufs: https://github.com/npm/npm/issues/13306#issuecomment-236876133
  +
  +# https://github.com/npm/npm/pull/10373#issuecomment-195742307
   
   # Based on https://github.com/mhart/alpine-node
   RUN apk add --no-cache curl make gcc g++ linux-headers binutils-gold gnupg libstdc++ && \
  
positive.code: COPY . /usr/src/app
  RUN chown -R app:app /usr/src/app
  
  USER app
  
  CMD ["/usr/src/app/bin/duplication"]
  
negative.code:     curl -sSL https://nodejs.org/dist/${NODE_VERSION}/SHASUMS256.txt.asc | gpg --batch --decrypt | \
        grep " node-${NODE_VERSION}.tar.xz\$" | sha256sum -c | grep . && \
      tar -xf node-${NODE_VERSION}.tar.xz && \
      (cd node-${NODE_VERSION} && \
      ./configure --prefix=/usr ${CONFIG_FLAGS} && \
      make -j$(getconf _NPROCESSORS_ONLN) && \
      make install) && \
      (cd $(npm root -g)/npm && npm install fs-extra && sed -i -e s/graceful-fs/fs-extra/ -e s/fs.rename/fs.move/ ./lib/utils/rename.js) && \
      if [ -x /usr/bin/npm ]; then \
        npm install -g npm@${NPM_VERSION} && \
        find /usr/lib/node_modules/npm -name test -o -name .bin -type d | xargs rm -rf; \
      fi && \
      gem install bundler --no-ri --no-rdoc && \
      (cd /usr/src/app && bundle install -j 4) && \
      (cd /usr/src/app && curl -sS https://getcomposer.org/installer | php) && \
      apk del --purge curl make gcc g++ linux-headers binutils-gold gnupg ${DEL_PKGS} && \
      rm -rf ${RM_DIRS} /node-${NODE_VERSION}* /usr/share/man /tmp/* /var/cache/apk/* \
        /root/.npm /root/.node-gyp /root/.gnupg /usr/lib/node_modules/npm/man \
        /usr/lib/node_modules/npm/doc /usr/lib/node_modules/npm/html \
        /usr/lib/node_modules/npm/scripts
  
  WORKDIR /usr/src/app/
  
  RUN mv composer.phar /usr/local/bin/composer
  RUN cd /usr/src/app/vendor/php-parser/ && composer install --prefer-source --no-interaction
  