You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by "chris snow (JIRA)" <ji...@apache.org> on 2014/09/02 15:12:20 UTC

[jira] [Comment Edited] (STRATOS-737) minimise size of stratos in docker images

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

chris snow edited comment on STRATOS-737 at 9/2/14 1:11 PM:
------------------------------------------------------------

Although there is still room for improvement in reducing the image sizes, the images have been reduced in size by over 1GB.  

The images now have the sizes shown below:

{code}
apachestratos/stratos          4.1.0-SNAPSHOT      e3a17e115c30        21 minutes ago      704.7 MB
apachestratos/activemq         4.1.0-SNAPSHOT      319952288a76        31 minutes ago      459.3 MB
apachestratos/mysql            4.1.0-SNAPSHOT      e7f28d9df86f        52 minutes ago      375.5 MB
apachestratos/puppettestnode   4.1.0-SNAPSHOT      2b3f1a895cfd        52 minutes ago      286.6 MB
apachestratos/puppetmaster     4.1.0-SNAPSHOT      236f0c4b4045        About an hour ago   621.2 MB
apachestratos/bind             4.1.0-SNAPSHOT      db7f3c584fc6        About an hour ago   283.7 MB
{code}


was (Author: snowch):
Although there is still room for improvement in reducing the image sizes, the images have been reduced in size by over 1GB.  

The images now have the sizes shown below:

{code}
Size   Image
(MB)   Description
----   -------------
 225   Ubuntu 14.04 Base Image
 479   Apache Stratos Image
 233   ActiveMQ Image
 395   Puppet Master Image
  61   Puppet Test Node Image
  58   Bind Image
 150   MySQL Image
====
1604   TOTAL 
{code}

> minimise size of stratos in docker images
> -----------------------------------------
>
>                 Key: STRATOS-737
>                 URL: https://issues.apache.org/jira/browse/STRATOS-737
>             Project: Stratos
>          Issue Type: Sub-task
>            Reporter: chris snow
>             Fix For: 4.1.0
>
>
> The stratos image is quite large:
> {code}
> vagrant@vagrant:~/stratos-source/tools/stratos-docker-images$ sudo docker images
> REPOSITORY               TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
> apachestratos/stratos    latest              0a7d5a6b38f4        9 hours ago         1.312 GB
> apachestratos/activemq   latest              deff718a15fa        9 hours ago         485 MB
> apachestratos/mysql      latest              c3679856e831        9 hours ago         292.6 MB
> ubuntu                   14.04               ba5877dc9bec        2 weeks ago         192.7 MB
> stackbrew/ubuntu         12.04               b9e56c8f2cf5        2 weeks ago         103.9 MB
> {code}
> Perhaps it would make sense to not unzip stratos at build time and instead unzip at runtime, trading off download size against start up time?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)