Re: Revisiting MINIFI-175; minifi-cpp Alpine Dockerfile

2017-04-26 Thread Andrew Christianson
It might be feasible to keep the build as-is (ubuntu-based), create a second stage based on alpine or busybox, then copy the minifi dist to the runtime. It would then be a question of library compatibility. We could either install the runtime deps (hopefully they are named and versioned in a

Re: Revisiting MINIFI-175; minifi-cpp Alpine Dockerfile

2017-04-26 Thread Jeremy Dyer
I'm all about smaller and alpine. To Aldrin's point I think we just wanted something out there at first and fully expected to optimize later Sent from my iPhone > On Apr 26, 2017, at 11:29 AM, Bryan Rosander wrote: > > I'm definitely in favor of smaller images,

Re: Revisiting MINIFI-175; minifi-cpp Alpine Dockerfile

2017-04-26 Thread Bryan Rosander
I'm definitely in favor of smaller images, especially given the nature of the subproject. I think the MiNiFi Java image may be able to benefit from Alpine as well. Thanks, Bryan On Wed, Apr 26, 2017 at 11:09 AM, Aldrin Piri wrote: > Don't think there would be any

Re: Revisiting MINIFI-175; minifi-cpp Alpine Dockerfile

2017-04-26 Thread Aldrin Piri
Don't think there would be any objections to going smaller with Alpine and certainly makes a lot of sense, but I believe initial efforts were problematic and there was a general desire to get a foundation going. The biggest issue was needing to navigate cross compilation of a given host to the

Revisiting MINIFI-175; minifi-cpp Alpine Dockerfile

2017-04-26 Thread Andrew Christianson
Have we considered porting the current Dockerfile from Ubuntu to Alpine? The ubuntu image, especially with all the build-time deps left in the final image, is quite bloated. This runs against the design intent of minimal footprint in minifi-cpp. Further, the new multi-stage Docker builds would

Re: How to pass custom attribute to a ListFile and putHDFS

2017-04-26 Thread Vdsa
Thanks a lot for the detailed explanation, I agree with all your points. Just wanted to know how to define custom attributes. Thanks in advance. -- View this message in context: