[
https://issues.apache.org/jira/browse/NIFI-6125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16932908#comment-16932908
]
Qiong Wei commented on NIFI-6125:
---------------------------------
start looking into this.
> NiFi Docker image does not start when PATH variable does not match default
> --------------------------------------------------------------------------
>
> Key: NIFI-6125
> URL: https://issues.apache.org/jira/browse/NIFI-6125
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Eric Yang
> Priority: Major
>
> NiFI Docker image entrypoint startup.sh script does not have -l flag to
> enforce login with /etc/profile or setup PATH variable. Some command such as
> "hostname" and "sed" depends on the version on the PATH variable. If someone
> start docker image with --env-file flag to override PATH variable to run
> hostname and sed from alternate mounted location. This allows user to hijack
> the startup script unintentionally.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)