anchor.diff:  === Building
   
   The main entrypoint for building is the link:make_docker.py[_make_docker.py_] file.
  -The Python script makes use of link:https://docs.python.org/3/library/subprocess.html[`subrocess`], link:https://docs.python.org/3/library/string.html#template-strings[`string.Template`], and link:https://docs.python.org/3/howto/argparse.html[`argparse`].
  +The Python script makes use of link:https://docs.python.org/3/library/subprocess.html[`subprocess`], link:https://docs.python.org/3/library/string.html#template-strings[`string.Template`], and link:https://docs.python.org/3/howto/argparse.html[`argparse`].
   
   The build is essentially divided into 3 phases, which are all mapped to different subcommands:
   
  
positive.code: = Docker Apache NiFi
  Mike Kobit <https://github.com/mkobit[@mkobit]
  :toc: preamble
  
  image:https://img.shields.io/badge/license-MIT-blue.svg[
  title="MIT license", alt="MIT License"]
  image:https://travis-ci.org/mkobit/docker-nifi.svg?branch=master[title="Build
  Status", alt="Build Status", link="https://travis-ci.org/mkobit/docker-nifi"]
  image:https://img.shields.io/docker/stars/mkobit/nifi.svg[title="Docker repository stars",
  alt="Stars on Docker Hub", link="https://hub.docker.com/r/mkobit/nifi/"]
  image:https://img.shields.io/docker/pulls/mkobit/nifi.svg[title="Docker image
  pulls", alt="Docker image pulls", link="https://hub.docker.com/r/mkobit/nifi/"]
  image:https://img.shields.io/github/issues/mkobit/docker-nifi.svg[
  title="Github issues", alt="Github issues",
  link="https://github.com/mkobit/docker-nifi/issues"]
  
  This is an unofficial https://nifi.apache.org/[Apache NiFi] Docker image. The
  images are built by https://travis-ci.org/mkobit/docker-nifi[Travis CI] and are
  available on https://hub.docker.com/r/mkobit/nifi/[Docker Hub at mkobit/nifi].
  
  == Images
  
  [cols=2, options="header"]
  |===
  | Image
  | Image Size (by https://imagelayers.io[imagelayers.io])
  
  | `mkobit/nifi:latest`
  | image:https://badge.imagelayers.io/mkobit/nifi:latest.svg[title="Image layers and size", alt="Image layers and size",link="https://imagelayers.io/?images=mkobit%2Fnifi:latest"]
  
  | `mkobit/nifi:0.5.1-openjdk-9`
  | image:https://badge.imagelayers.io/mkobit/nifi:0.5.1-openjdk-9.svg[title="Image layers and size", alt="Image layers and size",link="https://imagelayers.io/?images=mkobit%2Fnifi:0.5.1-openjdk-9"]
  
  | `mkobit/nifi:0.5.1-openjdk-8`
  | image:https://badge.imagelayers.io/mkobit/nifi:0.5.1-openjdk-8.svg[title="Image layers and size", alt="Image layers and size",link="https://imagelayers.io/?images=mkobit%2Fnifi:0.5.1-openjdk-8"]
  
  | `mkobit/nifi:0.5.1-openjdk-7`
  | image:https://badge.imagelayers.io/mkobit/nifi:0.5.1-openjdk-7.svg[title="Image layers and size", alt="Image layers and size",link="https://imagelayers.io/?images=mkobit%2Fnifi:0.5.1-openjdk-7"]
  
  | `mkobit/nifi:0.5.1-oracle-java8`
  | image:https://badge.imagelayers.io/mkobit/nifi:0.5.1-oracle-java8.svg[title="Image layers and size", alt="Image layers and size",link="https://imagelayers.io/?images=mkobit%2Fnifi:0.5.1-oracle-java8"]
  
  | `mkobit/nifi:0.5.1-oracle-java7`
  | image:https://badge.imagelayers.io/mkobit/nifi:0.5.1-oracle-java7.svg[title="Image layers and size", alt="Image layers and size",link="https://imagelayers.io/?images=mkobit%2Fnifi:0.5.1-oracle-java7"]
  
  | `mkobit/nifi:0.5.0-openjdk-9`
  | image:https://badge.imagelayers.io/mkobit/nifi:0.5.0-openjdk-9.svg[title="Image layers and size", alt="Image layers and size",link="https://imagelayers.io/?images=mkobit%2Fnifi:0.5.0-openjdk-9"]
  
  | `mkobit/nifi:0.5.0-openjdk-8`
  | image:https://badge.imagelayers.io/mkobit/nifi:0.5.0-openjdk-8.svg[title="Image layers and size", alt="Image layers and size",link="https://imagelayers.io/?images=mkobit%2Fnifi:0.5.0-openjdk-8"]
  
  | `mkobit/nifi:0.5.0-openjdk-7`
  | image:https://badge.imagelayers.io/mkobit/nifi:0.5.0-openjdk-7.svg[title="Image layers and size", alt="Image layers and size",link="https://imagelayers.io/?images=mkobit%2Fnifi:0.5.0-openjdk-7"]
  
  | `mkobit/nifi:0.5.0-oracle-java8`
  | image:https://badge.imagelayers.io/mkobit/nifi:0.5.0-oracle-java8.svg[title="Image layers and size", alt="Image layers and size",link="https://imagelayers.io/?images=mkobit%2Fnifi:0.5.0-oracle-java8"]
  
  | `mkobit/nifi:0.5.0-oracle-java7`
  | image:https://badge.imagelayers.io/mkobit/nifi:0.5.0-oracle-java7.svg[title="Image layers and size", alt="Image layers and size",link="https://imagelayers.io/?images=mkobit%2Fnifi:0.5.0-oracle-java7"]
  
  | `mkobit/nifi:0.4.1-openjdk-9`
  | image:https://badge.imagelayers.io/mkobit/nifi:0.4.1-openjdk-9.svg[title="Image layers and size", alt="Image layers and size",link="https://imagelayers.io/?images=mkobit%2Fnifi:0.4.1-openjdk-9"]
  
  | `mkobit/nifi:0.4.1-openjdk-8`
  | image:https://badge.imagelayers.io/mkobit/nifi:0.4.1-openjdk-8.svg[title="Image layers and size", alt="Image layers and size",link="https://imagelayers.io/?images=mkobit%2Fnifi:0.4.1-openjdk-8"]
  
  | `mkobit/nifi:0.4.1-openjdk-7`
  | image:https://badge.imagelayers.io/mkobit/nifi:0.4.1-openjdk-7.svg[title="Image layers and size", alt="Image layers and size",link="https://imagelayers.io/?images=mkobit%2Fnifi:0.4.1-openjdk-7"]
  
  | `mkobit/nifi:0.4.1-oracle-java8`
  | image:https://badge.imagelayers.io/mkobit/nifi:0.4.1-oracle-java8.svg[title="Image layers and size", alt="Image layers and size",link="https://imagelayers.io/?images=mkobit%2Fnifi:0.4.1-oracle-java8"]
  
  | `mkobit/nifi:0.4.1-oracle-java7`
  | image:https://badge.imagelayers.io/mkobit/nifi:0.4.1-oracle-java7.svg[title="Image layers and size", alt="Image layers and size",link="https://imagelayers.io/?images=mkobit%2Fnifi:0.4.1-oracle-java7"]
  
  | `mkobit/nifi:0.4.0-openjdk-9`
  | image:https://badge.imagelayers.io/mkobit/nifi:0.4.0-openjdk-9.svg[title="Image layers and size", alt="Image layers and size",link="https://imagelayers.io/?images=mkobit%2Fnifi:0.4.0-openjdk-9"]
  
  | `mkobit/nifi:0.4.0-openjdk-8`
  | image:https://badge.imagelayers.io/mkobit/nifi:0.4.0-openjdk-8.svg[title="Image layers and size", alt="Image layers and size",link="https://imagelayers.io/?images=mkobit%2Fnifi:0.4.0-openjdk-8"]
  
  | `mkobit/nifi:0.4.0-openjdk-7`
  | image:https://badge.imagelayers.io/mkobit/nifi:0.4.0-openjdk-7.svg[title="Image layers and size", alt="Image layers and size",link="https://imagelayers.io/?images=mkobit%2Fnifi:0.4.0-openjdk-7"]
  
  | `mkobit/nifi:0.4.0-oracle-java8`
  | image:https://badge.imagelayers.io/mkobit/nifi:0.4.0-oracle-java8.svg[title="Image layers and size", alt="Image layers and size",link="https://imagelayers.io/?images=mkobit%2Fnifi:0.4.0-oracle-java8"]
  
  | `mkobit/nifi:0.4.0-oracle-java7`
  | image:https://badge.imagelayers.io/mkobit/nifi:0.4.0-oracle-java7.svg[title="Image layers and size", alt="Image layers and size",link="https://imagelayers.io/?images=mkobit%2Fnifi:0.4.0-oracle-java7"]
  
  | `mkobit/nifi:0.3.0`
  | image:https://badge.imagelayers.io/mkobit/nifi:0.3.0.svg[title="Image layers and size", alt="Image layers and size",link="https://imagelayers.io/?images=mkobit%2Fnifi:0.3.0"]
  
  | `mkobit/nifi:0.2.1`
  | image:https://badge.imagelayers.io/mkobit/nifi:0.2.1.svg[title="Image layers and size", alt="Image layers and size",link="https://imagelayers.io/?images=mkobit%2Fnifi:0.2.1"]
  |===
  
  == Example
  
negative.code: === Travis
  
  The Travis build entrypoint is the link:travis_build.sh[_travis_build.sh] script.
  This script determines if it is a pull request, merge into master, or any other branch.
  
  Pull requests are built, while commits to master trigger a build and publish to Docker Hub.
  
  ==== Travis utilities
  
  