anchor.diff:  ADD /etc/nginx/nginx.conf /opt/docker/nginx.conf
   ADD /etc/nginx/sites-available/default.conf /opt/docker/default.conf
   ADD /var/www/df-landing /var/www/df-landing/
  -ADD /opt/docker/* /opt/docker/
  +
  +# copy docker script debian cleanup file to docker image
  +ADD https://raw.githubusercontent.com/dunkelfrosch/docker-bash/master/docker_cleanup_debian.sh /opt/docker/
   
   # x-layer 1: package manager related processor
   RUN apt-get update -qq >/dev/null 2>&1 \
       && apt-get install -qq -y --no-install-recommends mc wget curl ntp ca-certificates >/dev/null 2>&1
   
   # x-layer 2: create selfsigned ssl certificate using defined fqdn and set auto-trust
  -RUN openssl req -new -newkey rsa:4096 -sha256 -days 1095 -nodes -x509 -subj "/C=DE/ST=STATE/L=CITY/O=MAIL/CN=${CFG_NGINX_FQN_HOSTNAME}" -keyout /etc/ssl/${CFG_NGINX_FQN_HOSTNAME}.key  -out /etc/ssl/${CFG_NGINX_FQN_HOSTNAME}.cer \
  -    && chmod 600 /etc/ssl/${CFG_NGINX_FQN_HOSTNAME}.key \
  -    && cp /etc/ssl/${CFG_NGINX_FQN_HOSTNAME}.cer /usr/local/share/ca-certificates/ \
  +RUN openssl req -new -newkey rsa:4096 -sha256 -days 1095 -nodes -x509 -subj "/C=DE/ST=STATE/L=CITY/O=MAIL/CN=${NGINX_DOMAIN_PUBLIC}" -keyout /etc/ssl/${NGINX_DOMAIN_PUBLIC}.key  -out /etc/ssl/${NGINX_DOMAIN_PUBLIC}.cer \
  +    && chmod 600 /etc/ssl/${NGINX_DOMAIN_PUBLIC}.key \
  +    && cp /etc/ssl/${NGINX_DOMAIN_PUBLIC}.cer /usr/local/share/ca-certificates/ \
       && update-ca-certificates
   
   # x-layer 3: application base setup related processor
  
positive.code: #
  # BUILD    : DF/[ATLASSIAN][PROXY][NGINX]
  # OS/CORE  : debian:8
  # SERVICES : nginx 1.9.7
  #
  # VERSION 1.0.0
  #
  
  FROM nginx:1.9.7
  
  MAINTAINER Patrick Paechnatz <patrick.paechnatz@gmail.com>
  LABEL com.container.vendor="dunkelfrosch impersonate" \
        com.container.service="atlassian/proxy/nginx" \
        com.container.priority="1" \
        com.container.project="atlassian" \
        img.version="1.0.0" \
        img.description="our main atlassian nginx proxy container"
  
  ENV TERM xterm
  ENV LC_ALL C.UTF-8
  ENV DEBIAN_FRONTEND noninteractive
  ENV TIMEZONE "Europe/Berlin"
  
  # Setup additional application config environment variables
  ENV CFG_NGINX_FQN_HOSTNAME     "dunkelfrosch.com"
  ENV CFG_NGINX_URI_JIRA         "/go/to/jira"
  ENV CFG_NGINX_URI_CONFLUENCE   "/go/to/confluence"
  ENV CFG_NGINX_URI_BITBUCKET    "/go/to/bitbucket"
  
  # prepare main remote docker helper script path
  RUN mkdir -p /etc/nginx/sites-available \
  
negative.code: 
  # x-layer 4: build script cleanup related processor
  RUN set -e \
      && sh /opt/docker/docker_cleanup_debian.sh
  
  EXPOSE 80 443
  