Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.0 RC3
    • Component/s: None
    • Labels:
      None

      Description

      The stratos image is quite large:

      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
      

      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?

        Activity

        Hide
        nirmal Nirmal Fernando added a comment -

        Absolutely +1 Chris! Let's not unzip it inside the image.


        Best Regards,
        Nirmal

        Nirmal Fernando.
        PPMC Member & Committer of Apache Stratos,
        Senior Software Engineer, WSO2 Inc.

        Blog: http://nirmalfdo.blogspot.com/

        Show
        nirmal Nirmal Fernando added a comment - Absolutely +1 Chris! Let's not unzip it inside the image. – Best Regards, Nirmal Nirmal Fernando. PPMC Member & Committer of Apache Stratos, Senior Software Engineer, WSO2 Inc. Blog: http://nirmalfdo.blogspot.com/
        Hide
        nirmal Nirmal Fernando added a comment -

        Absolutely +1 Chris! Let's not unzip it inside the image.


        Best Regards,
        Nirmal

        Nirmal Fernando.
        PPMC Member & Committer of Apache Stratos,
        Senior Software Engineer, WSO2 Inc.

        Blog: http://nirmalfdo.blogspot.com/

        Show
        nirmal Nirmal Fernando added a comment - Absolutely +1 Chris! Let's not unzip it inside the image. – Best Regards, Nirmal Nirmal Fernando. PPMC Member & Committer of Apache Stratos, Senior Software Engineer, WSO2 Inc. Blog: http://nirmalfdo.blogspot.com/
        Hide
        nirmal Nirmal Fernando added a comment -

        Or could we support both the options? (2 images?)

        On Fri, Aug 8, 2014 at 12:05 PM, Nirmal Fernando <nirmal070125@gmail.com>


        Best Regards,
        Nirmal

        Nirmal Fernando.
        PPMC Member & Committer of Apache Stratos,
        Senior Software Engineer, WSO2 Inc.

        Blog: http://nirmalfdo.blogspot.com/

        Show
        nirmal Nirmal Fernando added a comment - Or could we support both the options? (2 images?) On Fri, Aug 8, 2014 at 12:05 PM, Nirmal Fernando <nirmal070125@gmail.com> – Best Regards, Nirmal Nirmal Fernando. PPMC Member & Committer of Apache Stratos, Senior Software Engineer, WSO2 Inc. Blog: http://nirmalfdo.blogspot.com/
        Hide
        snowch chris snow added a comment -

        It should be fairly trivial to create two versions. I'll take a look when time permits ...

        Show
        snowch chris snow added a comment - It should be fairly trivial to create two versions. I'll take a look when time permits ...
        Hide
        snowch chris snow added a comment - - edited

        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:

        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
        
        Show
        snowch chris snow added a comment - - edited 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: 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

          People

          • Assignee:
            Unassigned
            Reporter:
            snowch chris snow
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development