Re: [Dev] Puppet modules - Cleaned up jdk and product distribution

2016-01-26 Thread Chamila De Alwis
Great work Sajith! Nice to see you were able to reduce the size of the
image by over 1GB. :)


Regards,
Chamila de Alwis
Committer and PMC Member - Apache Stratos
Software Engineer | WSO2 | +94772207163
Blog: code.chamiladealwis.com



On Tue, Jan 26, 2016 at 1:44 PM, Imesh Gunaratne  wrote:

> Great work Sajith!! It's really important for us to reduce the docker
> image size.
>
> Thanks
>
> On Tue, Jan 26, 2016 at 11:51 AM, Sajith Kariyawasam 
> wrote:
>
>> Hi Devs,
>>
>> With the current puppet modules, when docker images are built it sized
>> around 2.216 GB and it seemed product and JDK binaries were not removed
>> after the installation.
>>
>> I have now updated the puppet modules to,
>>
>> 1) Remove java cache directory after java installation
>> 2) Remove wso2 product pack after installation
>>
>> Ideally, JDK distribution should be cleaned up by the 7-terminals [1]
>> module. I have sent a PR [2] with the improvement, until its merged and
>> available in puppet forge I have fixed that in java.pp
>>
>> Now the image size is reduced to around 1.417 GB
>>
>> [1] https://github.com/7terminals/puppet-java.git
>> [2] https://github.com/7terminals/puppet-java/pull/14
>>
>> Thanks,
>> Sajith
>>
>> --
>> Sajith Kariyawasam
>> *Committer and PMC member, Apache Stratos, *
>> *WSO2 Inc.; http://wso2.com *
>> *Mobile: 0772269575*
>>
>
>
>
> --
> *Imesh Gunaratne*
> Senior Technical Lead
> WSO2 Inc: http://wso2.com
> T: +94 11 214 5345 M: +94 77 374 2057
> W: http://imesh.gunaratne.org
> Lean . Enterprise . Middleware
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Puppet modules - Cleaned up jdk and product distribution

2016-01-26 Thread Imesh Gunaratne
Great work Sajith!! It's really important for us to reduce the docker image
size.

Thanks

On Tue, Jan 26, 2016 at 11:51 AM, Sajith Kariyawasam 
wrote:

> Hi Devs,
>
> With the current puppet modules, when docker images are built it sized
> around 2.216 GB and it seemed product and JDK binaries were not removed
> after the installation.
>
> I have now updated the puppet modules to,
>
> 1) Remove java cache directory after java installation
> 2) Remove wso2 product pack after installation
>
> Ideally, JDK distribution should be cleaned up by the 7-terminals [1]
> module. I have sent a PR [2] with the improvement, until its merged and
> available in puppet forge I have fixed that in java.pp
>
> Now the image size is reduced to around 1.417 GB
>
> [1] https://github.com/7terminals/puppet-java.git
> [2] https://github.com/7terminals/puppet-java/pull/14
>
> Thanks,
> Sajith
>
> --
> Sajith Kariyawasam
> *Committer and PMC member, Apache Stratos, *
> *WSO2 Inc.; http://wso2.com *
> *Mobile: 0772269575*
>



-- 
*Imesh Gunaratne*
Senior Technical Lead
WSO2 Inc: http://wso2.com
T: +94 11 214 5345 M: +94 77 374 2057
W: http://imesh.gunaratne.org
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Puppet modules - Cleaned up jdk and product distribution

2016-01-25 Thread Sajith Kariyawasam
Hi Devs,

With the current puppet modules, when docker images are built it sized
around 2.216 GB and it seemed product and JDK binaries were not removed
after the installation.

I have now updated the puppet modules to,

1) Remove java cache directory after java installation
2) Remove wso2 product pack after installation

Ideally, JDK distribution should be cleaned up by the 7-terminals [1]
module. I have sent a PR [2] with the improvement, until its merged and
available in puppet forge I have fixed that in java.pp

Now the image size is reduced to around 1.417 GB

[1] https://github.com/7terminals/puppet-java.git
[2] https://github.com/7terminals/puppet-java/pull/14

Thanks,
Sajith

-- 
Sajith Kariyawasam
*Committer and PMC member, Apache Stratos, *
*WSO2 Inc.; http://wso2.com *
*Mobile: 0772269575*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev