Github user taftster commented on the issue:
https://github.com/apache/nifi/pull/1372
One solution is just to move the chown and USER components _above_ the curl
statement. Basically you want curl to be executed as the NIFI user, not as
root.
Just a quick test, rearranging the statements:
Before: 2.58 GB
After: 1.59 GB
---
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.
---