[ 
https://issues.apache.org/jira/browse/FINERACT-771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16890766#comment-16890766
 ] 

Michael Vorburger.ch commented on FINERACT-771:
-----------------------------------------------

[https://docs.docker.com/develop/develop-images/multistage-build/] Separate the 
build stage makes for a smaller, and more importantly, more secure. runtime 
container image.

https://github.com/apache/fineract/pull/624 does this.

> Fineract Dockerfile multi stage build
> -------------------------------------
>
>                 Key: FINERACT-771
>                 URL: https://issues.apache.org/jira/browse/FINERACT-771
>             Project: Apache Fineract
>          Issue Type: Improvement
>            Reporter: Michael Vorburger.ch
>            Assignee: Michael Vorburger.ch
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Once https://github.com/apache/fineract/pull/593 for FINERACT-760 is in, and 
> perhaps after we have a first iteration of INFRA-18673 done, I'll try to make 
> time to have a go at reworking the first Dockerfile originally contributed by 
> [~conradsp] to be "multi-stage", to separate the build from the runtime more. 
> I've done this before in other projects, from which I can draw inspiration. 
> This may help unblock a similar effort in INFRA-18516 by serving as an 
> example to them.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to