Github user achristianson commented on the issue: https://github.com/apache/nifi/pull/1372 As a counterpoint to the idea of putting it in a separate repo, would it be possible to produce the official image as part of a maven build stage? To reference an internet URL somewhat breaks the idea that the build system works of of package names/versions. Both maven and the OS (alpine, centos, etc.) reference dependencies by name/version only. If we can avoid this, we also improve portability of the builds and prevent issues when the upstream HTTP url of the referenced built nifi changes or goes down. What the others say about the self-referencing version makes sense, too. Basically, if building the image were another build stage, then the version of the docker image produced would just be in sync with the source tree as a whole. E.g. you build a 1.1.0 release, and the java build/package produces a 1.1.0 binary, then the final docker packaging stage produces a 1.1.0 image. The docker-maven-plugin that @ddewaele references looks like a perfect way to add this as another maven stage.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---