anchor.diff:          /var/lib/mysql \
           /etc/mysql \
           /docker-entrypoint-initdb.d \
  -        "${BACKUPS_DIR}"; \
  -    \
  -    # Remove dev, test, doc, benchmark related files.
  -    rm -rf \
  -        /usr/share/man \
  -        /usr/include/mysql \
  -        /usr/mysql-test \
  -        /usr/sql-bench \
  -        /usr/lib/libmysqlclient.so* \
  -        /usr/lib/libmysqlclient_r.so* \
  -        /usr/lib/libmysqld.so.* \
  -        /usr/bin/mysql_config \
  -        /usr/bin/mysql_client_test; \
  -    \
  -    find /usr/lib -name '*.a' -maxdepth 1 -print0 | xargs -0 rm; \
  -    find /usr/lib -name '*.so' -type l -maxdepth 1 -print0 | xargs -0 rm; \
  -    \
  -    # Stripping binaries and .so files.
  -    scanelf --symlink --recursive --nobanner --osabi --etype "ET_DYN,ET_EXEC" \
  -        /usr/bin/* /usr/lib/mysql/plugin/* | while read type osabi filename; do \
  -        ([ "$osabi" != "STANDALONE" ] && [ "${filename}" != "/usr/bin/strip" ]) || continue; \
  -        XATTR=$(getfattr --match="" --dump "${filename}"); \
  -        strip "${filename}"; \
  -        if [ -n "$XATTR" ]; then \
  -            echo "$XATTR" | setfattr --restore=-; \
  -        fi; \
  -    done; \
  -    \
  -    # Clean up.
  -    apk del --purge .mariadb-build-deps; \
  -    rm -rf /tmp/*; \
  -    rm -rf /var/cache/apk/*
  +        "${BACKUPS_DIR}";
   
  -ENV GOTPL_URL "https://github.com/wodby/gotpl/releases/download/0.1.5/gotpl-alpine-linux-amd64-0.1.5.tar.gz"
  -RUN wget -qO- ${GOTPL_URL} | tar xz -C /usr/local/bin;
   
   USER mysql
   
  -COPY actions /usr/local/bin
  -COPY templates /etc/gotpl/
  +# COPY actions /usr/local/bin
  +# COPY templates /etc/gotpl/
   COPY docker-entrypoint.sh /
   
   RUN ls -la /usr/local/bin
  
positive.code: FROM alpine
  
  MAINTAINER amazee.io
  
  ARG ALPINE_VER=3.6
  ARG MARIADB_VER=10.2.11
  ARG IMAGE_REPO
  
  ENV MARIADB_VER="${MARIADB_VER}" \
      MARIADB_URL="https://downloads.mariadb.org/interstitial/mariadb-${MARIADB_VER}/source/mariadb-${MARIADB_VER}.tar.gz" \
      BACKUPS_DIR="/mnt/backups"
  
  RUN set -xe && \
      \
  
negative.code:         gzip \
          tar \
          unzip \
          wget \
          mariadb mariadb-common ; \
      \
      rm -rf /var/cache/apk/*
  
  RUN set -xe; \
      mkdir -p \
          /var/run/mysqld \
          /var/lib/mysql \
  