[GitHub] [nifi] kevdoran commented on pull request #5684: NIFI-9605: Docker Images for OpenShift

2022-01-27 Thread GitBox


kevdoran commented on pull request #5684:
URL: https://github.com/apache/nifi/pull/5684#issuecomment-1023518720


   Thanks @guimou. Given that we want to offer a variety of base images and 
platform architectures, I think the first step would be restructuring things 
such that NiFi image is built in two steps: first to prep the base image, and 
then the nifi-specific bits. Ideally the nifi-bits would be the same regardless 
of the base image.
   
   Once we get a better handle on that, it should be easier to tackle some of 
the other wish-list items for docker improvements as there will be fewer files 
to edit and maintain.
   
   Keep an eye out on the wiki/dev mailing list/jira/PRs for opportunities to 
get involved if you are interested and available!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [nifi] kevdoran commented on pull request #5684: NIFI-9605: Docker Images for OpenShift

2022-01-25 Thread GitBox


kevdoran commented on pull request #5684:
URL: https://github.com/apache/nifi/pull/5684#issuecomment-1021406693


   Hi @guimou @dmnewber,
   
   This is a nice contribution and good discussion. I agree with you @guimou 
that there are real benefits to making NiFi images easier to deploy directly on 
OpenShift. I also agree with @dmnewber that it would be best not to duplicate 
the entire directory of files. While it may leave things more decoupled, it 
does increase the maintenance burden, as any any improvements to the default 
NiFi image would not also have to be done in more places (as we would probably 
want those same enhancements everywhere). We already have this problem today 
across docker hub and dockermaven variants, and plan to try to combine those so 
that they only differ one way, which is how the assembly artifacts are provided.
   
   I've started collecting ideas for how to improve our project structure for 
Docker images produced from the NiFi repository here, and I've added some of 
the goals of this PR to that list: 
https://cwiki.apache.org/confluence/display/NIFI/NiFi+Docker+Container+Improvements
   
   If this is not urgent, I would suggest we tackle some of those goals, such 
as image build consolidation and then figure out how to incorporate base image 
variants as part of that, to take another look at this. I haven't looked at the 
PR closely yet, but aside from basing on ubi8/OpenJDK11, are there any other 
significant changes from the current NiFi Dockerfile?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [nifi] kevdoran commented on pull request #5684: NIFI-9605: Docker Images for OpenShift

2022-01-21 Thread GitBox


kevdoran commented on pull request #5684:
URL: https://github.com/apache/nifi/pull/5684#issuecomment-1018549016


   @guimou There are no nightlies, so you can test with a release version such 
as 1.15.3. I know that complicates things with the hardcoded version in files 
such as DockerImage.txt. I'm actually thinking about a new approach so that we 
don't need those files / hardcoded versions in the code base.
   
   To @joewitt's point though, the idea here is that we are always preparing 
the source code to be ready for the next release, so if someone downloads the 
source tarball for 1.16.0 (when it is ready) and builds the Docker images, it 
will default to fetching those artifacts. During development / testing on main, 
that does make it trickier. For this PR, if it is working with 1.15.3, I would 
say that is good for verifying everything is in good order


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org