anchor.diff: -FROM sameersbn/ubuntu:16.04.20180706
  -MAINTAINER sameer@damagehead.com
  +FROM ubuntu:bionic-20180526
  +LABEL maintainer="sameer@damagehead.com"
   
  -ENV PHP_VERSION=7.0 \
  +ENV PHP_VERSION=7.2 \
       INVOICEPLANE_VERSION=1.5.9 \
       INVOICEPLANE_USER=www-data \
       INVOICEPLANE_INSTALL_DIR=/var/www/invoiceplane \
  
positive.code: ENV INVOICEPLANE_BUILD_DIR=${INVOICEPLANE_CACHE_DIR}/build \
      INVOICEPLANE_RUNTIME_DIR=${INVOICEPLANE_CACHE_DIR}/runtime
  
  RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 8B3981E7A6852F782CC4951600A6F0A3C300EE8C \
   && echo "deb http://ppa.launchpad.net/nginx/stable/ubuntu trusty main" >> /etc/apt/sources.list \
   && apt-get update \
   && DEBIAN_FRONTEND=noninteractive apt-get install -y \
        php${PHP_VERSION}-fpm php${PHP_VERSION}-cli php${PHP_VERSION}-mysql \
        php${PHP_VERSION}-gd php${PHP_VERSION}-json php${PHP_VERSION}-mbstring \
        php${PHP_VERSION}-mcrypt php${PHP_VERSION}-recode php${PHP_VERSION}-xmlrpc \
        mysql-client nginx gettext-base git \
   && sed -i 's/^listen = .*/listen = 0.0.0.0:9000/' /etc/php/${PHP_VERSION}/fpm/pool.d/www.conf \
   && phpenmod -v ALL mcrypt \
   && rm -rf /var/lib/apt/lists/*
  
  COPY assets/build/ ${INVOICEPLANE_BUILD_DIR}/
  
negative.code: COPY entrypoint.sh /sbin/entrypoint.sh
  RUN chmod 755 /sbin/entrypoint.sh
  
  WORKDIR ${INVOICEPLANE_INSTALL_DIR}
  ENTRYPOINT ["/sbin/entrypoint.sh"]
  CMD ["app:invoiceplane"]
  