<div dir="ltr">Thanks Brian,<div><br></div><div>First, Fedora & CentOS versions of this container are in the works and will be available soon, if they're not already. Sorry, I don't track the community side as closely as I'd like to these days due to bandwidth.</div><div><br></div><div>I found similar results rebuilding our nodejs containers using rhel7-atomic as the base; however, these benefits aren't shared by a lot of our containers. This is largely due to how our package maintainers declare dependencies. Installing packages like httpd & mariadb, don't typically need systemd running in the container, yet they're deps so systemd gets pulled in whether we want it or not. </div><div><br></div><div>I looked at mysql & mariadb images and they shrink by about ~10 MB. I was really hoping that the base s2i image would shrink considerably, but unfortunately with all the deps we pull in, that's just not the case. I'm going to look at some of the xPaaS images and see if there's a tangible benefit there as well. </div><div><br></div><div>...but I agree node is a great candidate here, so is java & golang.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 16, 2017 at 1:01 PM, Brian Gollaher <span dir="ltr"><<a href="mailto:briang@redhat.com" target="_blank">briang@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div class="m_-9123055904581559726moz-cite-prefix">Adding Ben Breard as this will be
      interesting to him.<span class=""><br>
      <br>
      On 03/16/2017 12:37 PM, Lance Ball wrote:<br>
    </span></div>
    <blockquote type="cite"><span class="">
      <div dir="ltr">Hi all
        <div><br>
        </div>
        <div>You may have seen recently that a few of us have started to
          maintain some up-to-the-minute Node.js builder images for
          Docker and Openshift [1]. At the moment, we have up to date
          images for Node 4,5,6 and 7. However, these are all running on
          CentOS.</div>
        <div><br>
        </div>
        <div>Recently, based on an email thread in @microservices, I
          started looking into the image sizes for what we are
          producing, and was pretty amazed to see ours at about 485MB.
          Not to be dissuaded, I decided that I would see what effort
          was required to create Node.js 4,5,6 and 7 builder images on
          rhel7-atomic. Without too much effort, I managed to create
          images based on this that were much smaller - about 140MB.
          Great news!</div>
        <div><br>
        </div>
        <div>However, this led me to a couple of questions that I would
          like to put forward for discussion, and ultimately follow up
          with one or more issues in <a href="https://issues.jboss.org/projects/NODE" target="_blank">https://issues.jboss.org/<wbr>projects/NODE</a>.</div>
        <div><br>
        </div>
        <div>Based on the evidence I have seen, there is a lot of
          interest in a smaller footprint for base/builder images. A
          rhel7-atomic builder image (not specific to Node.js) that
          could be further added to by projects like ours, would be very
          useful. A base builder image currently exists for RHEL, Fedora
          and CentOS. These base images make downstream projects such as
          ours much easier to implement because all of the OpenShift
          specific bits are already taken care of (e.g. STI_SCRIPTS_URL,
          etc).</div>
        <div><br>
        </div>
        <div>I was wondering if there is any current effort to produce a
          similar base image for rhel7-atomic. If not, is this the kind
          of activity that would be left to the community, or are there
          plans in the works within Red Hat to make this happen?</div>
        <div><br>
        </div>
        <div>I also think that, in addition to the current OpenShift
          offerings for Node.js on RHEL and CentOS, we should be
          providing a larger matrix of options. Is there any reason not
          to pursue community versions of Node.js builder images for the
          following combination of OS/Node?</div>
        <div><br>
        </div>
        <div>RHEL -> Node 4, 5, 6, 7 </div>
        <div>rhel7-atomic -> Node 4, 5, 6, 7</div>
        <div>Fedora -> Node 4, 5, 6, 7</div>
        <div>CentOS -> Node 4, 5, 6, 7</div>
        <div><br>
        </div>
        <div>I understand that SCL-provided, supported images for RHEL
          already exist for Node.js v4.x and soon to be Node.js v6.x. As
          you probably know, some of us are actively working towards a
          solution that would allow these supported images to achieve
          greater turnaround time, and maintain version parity with all
          current Node.js releases.</div>
        <div><br>
        </div>
        <div>Would the addition of community provided rhel7-atomic,
          fedora and perhaps even rhel images be welcomed?</div>
        <div><br>
        </div>
        <div>Lance </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>[1] <a href="http://github.com/bucharest-gold/origin-s2i-nodejs" target="_blank">github.com/bucharest-gold/<wbr>origin-s2i-nodejs</a></div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset class="m_-9123055904581559726mimeAttachmentHeader"></fieldset>
      <br>
      </span><span class=""><pre>______________________________<wbr>_________________
Container-tools mailing list
<a class="m_-9123055904581559726moz-txt-link-abbreviated" href="mailto:Container-tools@redhat.com" target="_blank">Container-tools@redhat.com</a>
<a class="m_-9123055904581559726moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/container-tools" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/container-<wbr>tools</a>
</pre>
    </span></blockquote><span class="HOEnZb"><font color="#888888">
    <br>
    <pre class="m_-9123055904581559726moz-signature" cols="72">-- 
Brian Gollaher
Red Hat Platform Product Management
Phone: <a href="tel:(978)%20392-3173" value="+19783923173" target="_blank">978 392-3173</a>
Cell: <a href="tel:(508)%20740-6549" value="+15087406549" target="_blank">508 740-6549</a>
<a class="m_-9123055904581559726moz-txt-link-abbreviated" href="mailto:briang@redhat.com" target="_blank">briang@redhat.com</a>
</pre>
  </font></span></div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><br><font size="1">Ben Breard</font></div><div><font size="1">Sr Technology Product Manager - Linux Containers</font></div><div dir="ltr"><font size="1">Mobile: 972-816-9081</font><br></div></div></div></div></div></div></div></div></div></div>
</div>