Github user cricket007 commented on the issue:
https://github.com/apache/nifi/pull/1372
I mean, it seems to be an open discussion in Docker community for some
time.
I'm not too skilled in layer management to know the "correct approach" at
this moment, but the first thing I would try would be to merge in `&& chown -R
...` into the previous layer. I'll copy your Dockerfile and see what I get.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---