On Friday, March 18, 2016, Imesh Gunaratne <im...@wso2.com> wrote:

> I have now completed above points 1 and 2 in all dockerfiles according to
> the improvements proposed by Chamila. Changes were pushed to master branch.
>
> ESB 4.9.0 docker image size reduced from 1.244 GB to 754.7 MB,  API-M
> 1.9.1 image size reduced from 1.693 GB to 1.005 GB.
>
>
Great !!!


> Thanks
>
> On Fri, Mar 18, 2016 at 3:22 PM, Imesh Gunaratne <im...@wso2.com
> <javascript:_e(%7B%7D,'cvml','im...@wso2.com');>> wrote:
>
>> On Fri, Mar 18, 2016 at 2:34 PM, Lakmal Warusawithana <lak...@wso2.com
>> <javascript:_e(%7B%7D,'cvml','lak...@wso2.com');>> wrote:
>>
>>> -1. This is going to be the official dockerfiles for WSO2 products. We
>>> MUST used best practices while building docker images.
>>>
>>> See followings;
>>>
>>> 1 ) Should use LTS ubuntu base image (latest)
>>>
>>
>> Yes, I agree on this Lakmal. Will change this.
>>
>>> *2 ) *Need to reduce docker images size.
>>>
>> Yes, Chamila did a research on reducing the docker image size and found
>> that the most of the extra space was taken by the multiple Docker RUN
>> commands executed. At the moment we have two RUN commands; one in the base
>> image and the other in the product image. If we combine these two together
>> the time it takes to build the product image increases (to around 15-20
>> min). That's why we did not do that change and thought of asking the user
>> to do it at the time the image is being deployed in the production
>> environment.
>>
>> However now I understand that we can still do this change and let the
>> developers build another image based on the base product image and apply
>> their configurations and artifacts in the new image (similar to Tomcat [1]).
>>
>> According to the offline discussion we had, will cancel this vote and do
>> the following changes:
>>
>>    1. Change OS base image to ubuntu:latest (latest LTS).
>>    2. Combine two RUN commands and reduce the image size. Might need to
>>    remove the WSO2 base image.
>>    3. Provide a symlink or any other well defined path to mount/copy
>>    configurations and deployable artifacts to the Carbon servers.
>>
>> [1]
>> https://github.com/imesh/docker-for-java/blob/master/tomcat-webapp/Dockerfile
>>
>> Thanks
>>
>>
>>
>>> On Fri, Mar 18, 2016 at 9:33 AM, Chamila De Alwis <chami...@wso2.com
>>> <javascript:_e(%7B%7D,'cvml','chami...@wso2.com');>> wrote:
>>>
>>>> *[x] Stable* - Go ahead and release
>>>>
>>>>    - Verified Licensing and headers
>>>>    - Verified folder and package structure
>>>>    - Verified the out of the box functionality (default profile,
>>>>    access to management console, login, brief smoke test) of the following
>>>>    products.
>>>>    - WSO2 AM - 1.9.1, 1.10.0
>>>>       - WSO2 AS - 5.3.0
>>>>       - WSO2 BPS - 3.5.0
>>>>       - WSO2 BRS - 2.1.0, 2.2.0
>>>>       - WSO2 CEP - 4.0.0
>>>>       - WSO2 DAS - 3.0.0, 3.0.1
>>>>       - WSO2 DSS - 3.5.0
>>>>       - WSO2 ES - 2.0.0
>>>>       - WSO2 ESB - 4.9.0
>>>>       - WSO2 GREG - 4.6.0, 5.1.0
>>>>       - WSO2 IS - 5.1.0
>>>>       - WSO2 MB - 3.0.0, 3.1.0
>>>>    - Verified build.sh, run.sh, and save.sh functionality for each of
>>>>    the above products
>>>>
>>>>
>>>>
>>>> Regards,
>>>> Chamila de Alwis
>>>> Committer and PMC Member - Apache Stratos
>>>> Software Engineer | WSO2 | +94772207163
>>>> Blog: code.chamiladealwis.com
>>>>
>>>>
>>>>
>>>> On Thu, Mar 17, 2016 at 8:44 PM, Isuru Haththotuwa <isu...@wso2.com
>>>> <javascript:_e(%7B%7D,'cvml','isu...@wso2.com');>> wrote:
>>>>
>>>>> This is the second release candidate (RC2) of WSO2 Dockerfiles 1.0.0
>>>>> release.
>>>>>
>>>>> *Tag to be voted upon:*
>>>>> https://github.com/wso2/dockerfiles/tree/v1.0.0-rc2
>>>>>
>>>>> *Source and distribution packages:*
>>>>> https://github.com/wso2/dockerfiles/releases/tag/v1.0.0-rc2
>>>>>
>>>>> Please download, test, and vote. The README file under each product
>>>>> directory contains instructions on how to try it out locally.
>>>>>
>>>>> [ ] Broken - Do not release (explain why)
>>>>> [ ] Stable - Go ahead and release
>>>>>
>>>>> This vote will be open for 72 hours or as needed.
>>>>>
>>>>> --
>>>>> Thanks and Regards,
>>>>>
>>>>> Isuru H.
>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> Dev@wso2.org <javascript:_e(%7B%7D,'cvml','Dev@wso2.org');>
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> Dev@wso2.org <javascript:_e(%7B%7D,'cvml','Dev@wso2.org');>
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Lakmal Warusawithana
>>> Director - Cloud Architecture; WSO2 Inc.
>>> Mobile : +94714289692
>>> Blog : http://lakmalsview.blogspot.com/
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> Dev@wso2.org <javascript:_e(%7B%7D,'cvml','Dev@wso2.org');>
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Imesh Gunaratne*
>> Senior Technical Lead
>> WSO2 Inc: http://wso2.com
>> T: +94 11 214 5345 M: +94 77 374 2057
>> W: http://imesh.io
>> Lean . Enterprise . Middleware
>>
>>
>
>
> --
> *Imesh Gunaratne*
> Senior Technical Lead
> WSO2 Inc: http://wso2.com
> T: +94 11 214 5345 M: +94 77 374 2057
> W: http://imesh.io
> Lean . Enterprise . Middleware
>
>

-- 
Sent from Gmail Mobile
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to