[ 
https://issues.apache.org/jira/browse/MINIFI-175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15870053#comment-15870053
 ] 

Jeremy Dyer commented on MINIFI-175:
------------------------------------

So after thinking through this a little more I think I need to make some 
changes. Instead of building minifi-cpp on the host machine and then copying 
the resulting binary to the docker image I believe that the source code should 
be copied to the docker image and then compiled there. Unfortunately this means 
a more bloated docker image than the lightweight alpine image but I believe the 
benefits far outweigh the extra size. 

This would also mean that end users could docker exec -it <containerid> bash 
and hack around on the source code without needing to setup a development 
environment.

I don't image the docker containers being used in real world environments 
anyway since most of those situations will be embedded so the extra space would 
only be encountered on a development machine which shouldn't be a big deal.

> Create official Apache NiFi MiNiFi C++ Dockerfile
> -------------------------------------------------
>
>                 Key: MINIFI-175
>                 URL: https://issues.apache.org/jira/browse/MINIFI-175
>             Project: Apache NiFi MiNiFi
>          Issue Type: Improvement
>          Components: C++
>    Affects Versions: 0.1.0
>            Reporter: Jeremy Dyer
>            Assignee: Jeremy Dyer
>             Fix For: cpp-0.2.0
>
>
> Docker containers make testing, examples, and production all easier. Creating 
> an official Docker image hosted a http://www.dockerhub.com would vastly 
> increase the user experience. Having this image would allow for users to 
> quickly experiment, allow contributors and committers to quickly test 
> enhancements, add support for testing features that require more than a 
> single instance which most cases do, and help bring a polished edge to the 
> project.
> The Dockerfile itself would also be helpful to new users by self describing 
> to them the manner in which MiNiFi should be installed on their devices even 
> if they chose to not use the Docker image itself.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to