[
https://issues.apache.org/jira/browse/NIFI-3260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16045859#comment-16045859
]
ASF GitHub Bot commented on NIFI-3260:
--------------------------------------
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
> Official Docker Image
> ---------------------
>
> Key: NIFI-3260
> URL: https://issues.apache.org/jira/browse/NIFI-3260
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Tools and Build
> Reporter: Jeremy Dyer
> Assignee: Aldrin Piri
> Labels: docker
> Fix For: 1.2.0
>
>
> This JIRA is for setting up a Docker folder structure within the NiFi source
> code as discussed in the dev mailing list at
> https://lists.apache.org/thread.html/e905a559cb01b30f1a7032cec5c9605685f27a65bdf7fee41b735089@%3Cdev.nifi.apache.org%3E
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)