Github user kevdoran commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/2161#discussion_r154488084
  
    --- Diff: nifi-toolkit/nifi-toolkit-assembly/pom.xml ---
    @@ -100,4 +100,87 @@ language governing permissions and limitations under 
the License. -->
                 <scope>compile</scope>
             </dependency>
         </dependencies>
    +
    +
    +    <profiles>
    +        <profile>
    +            <id>docker</id>
    +            <build>
    +                <plugins>
    +                    <plugin>
    +                        <artifactId>maven-resources-plugin</artifactId>
    +                        <executions>
    +                            <execution>
    +                                <id>copy-resources</id>
    --- End diff --
    
    On my machine, this copy execution does not preserve file permissions for 
`docker-entrypoint.sh`, so when I try to run the image, I get: 
    
    > starting container process caused "exec: 
\"/opt/sh/docker-entrypoint.sh\": permission denied".


---

Reply via email to