anchor.diff: -FROM python:2-alpine
  -ENV NODE_VERSION 8.11.1
  -ENV YARN_VERSION 1.5.1
  -RUN addgroup -g 1000 node \
  -    && adduser -u 1000 -G node -s /bin/sh -D node \
  -    && apk add --no-cache libstdc++ \
  -    && apk add --no-cache --virtual .build-deps \
  -        binutils-gold \
  -        curl \
  -        g++ \
  -        gcc \
  -        gnupg \
  -        libgcc \
  -        linux-headers \
  -        make \
  -        libffi-dev \
  -        openssl-dev \
  -  && pip install nitor-deploy-tools==1.0a11 ansible boto \
  +FROM python:3-stretch
  +
  +ENV NODE_VERSION=8.11.1 \
  + YARN_VERSION=1.5.1 \
  + JAVA_HOME=/docker-java-home \
  + GRADLE_VERSION=4.6 \
  + MAVEN_VERSION=3.5.3 \
  + PHANTOMJS_VERSION=2.1.1
  +
  +RUN apt-get update && apt-get upgrade -y && apt-get install -y openjdk-8-jdk git openssh-client unzip chromium \
  +  && set -ex \
  +  && groupadd --gid 1000 node \
  +  && useradd --uid 1000 --gid node --shell /bin/bash --create-home node \
  +  && groupadd --gid 1001 ndt \
  +  && useradd --uid 1001 --gid ndt --shell /bin/bash --create-home ndt \
     && for key in \
       94AE36675C464D64BAFA68DD7434390BDBE9B9C5 \
       FD3A5288F042B6850C66B31F09FE44734EB7990E \
  
positive.code:   && ln -s /opt/yarn-v$YARN_VERSION/bin/yarn /usr/local/bin/yarn \
    && ln -s /opt/yarn-v$YARN_VERSION/bin/yarnpkg /usr/local/bin/yarnpkg \
    && rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \
    && apk del .build-deps-yarn \
    && npm i -g npm serverless
negative.code:     gpg --keyserver hkp://ipv4.pool.sks-keyservers.net --recv-keys "$key" || \
      gpg --keyserver hkp://pgp.mit.edu:80 --recv-keys "$key" ; \
    done \
    && { \
  		echo '#!/bin/sh'; \
  		echo 'set -e'; \
  		echo; \
  		echo 'dirname "$(dirname "$(readlink -f "$(which javac || which java)")")"'; \
  	} > /usr/local/bin/docker-java-home \
    && chmod +x /usr/local/bin/docker-java-home \
    && ARCH= && dpkgArch="$(dpkg --print-architecture)" \
    && ln -svT "/usr/lib/jvm/java-8-openjdk-${dpkgArch}" /docker-java-home \
    && if [ ! -d /usr/share/man/man1 ]; then \
  		mkdir -p /usr/share/man/man1; \
  	 fi \
    && case "${dpkgArch##*-}" in \
      amd64) ARCH='x64';; \
      ppc64el) ARCH='ppc64le';; \
      s390x) ARCH='s390x';; \
      arm64) ARCH='arm64';; \
      armhf) ARCH='armv7l';; \
      i386) ARCH='x86';; \
      *) echo "unsupported architecture"; exit 1 ;; \
    esac \
    && curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-$ARCH.tar.xz" \
    && curl -SLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" \
    && gpg --batch --decrypt --output SHASUMS256.txt SHASUMS256.txt.asc \
    && grep " node-v$NODE_VERSION-linux-$ARCH.tar.xz\$" SHASUMS256.txt | sha256sum -c - \
    && tar -xJf "node-v$NODE_VERSION-linux-$ARCH.tar.xz" -C /usr/local --strip-components=1 --no-same-owner \
    && rm "node-v$NODE_VERSION-linux-$ARCH.tar.xz" SHASUMS256.txt.asc SHASUMS256.txt \
    && ln -s /usr/local/bin/node /usr/local/bin/nodejs \
    && set -ex \
    && for key in 6A010C5166006599AA17F08146C2130DFD2497F5; do \
      gpg --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys "$key" || \
      gpg --keyserver hkp://ipv4.pool.sks-keyservers.net --recv-keys "$key" || \
      gpg --keyserver hkp://pgp.mit.edu:80 --recv-keys "$key" ; \
  