<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>9555</bug_id>
          
          <creation_ts>2016-04-28 13:36:04 +0000</creation_ts>
          <short_desc>Create Toaster Docker container</short_desc>
          <delta_ts>2016-08-10 21:55:09 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Toaster</product>
          <component>toaster</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.2 M2</target_milestone>
          
          <blocked>9586</blocked>
    
    <blocked>9617</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Belen Barros Pena">belen.barros.pena</reporter>
          <assigned_to name="Randy Witt">randy.e.witt</assigned_to>
          <cc>belen.barros.pena</cc>
    
    <cc>brian.avery</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>stanciux.mihail</cc>
          
          <qa_contact name="Libertad">libertad.gonzalez.de.la.cruz</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>61795</commentid>
    <comment_count>0</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2016-04-28 13:36:04 +0000</bug_when>
    <thetext>The purpose of creating a Toaster Docker container is twofold:

1) It will simplify the task of setting a &quot;production&quot; instance of Toaster (http://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html#toaster-setting-up-a-production-instance-of-toaster), something we know trips people up

2) Could replace the existing Build Appliance as the offered mechanism to try Yocto Project.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63860</commentid>
    <comment_count>1</comment_count>
    <who name="Randy Witt">randy.e.witt</who>
    <bug_when>2016-07-12 18:22:57 +0000</bug_when>
    <thetext>This is done and available, but the container isn&apos;t being built using oe-core. https://github.com/crops/toaster-container

If it is desired that it be built using oe-core then this is blocked by 9502.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63877</commentid>
    <comment_count>2</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2016-07-12 20:31:25 +0000</bug_when>
    <thetext>My preference is that we go with a standard distro solution for the moment.  This has a couple of advantages:
1) it is a shorter path forward
2) since this is all pretty new, if a user need to exec into the contsiner to do something special, the apt-get mechanism available in the standard distro container makes it easy.
3) We can use a cron job to keep the containers up to date.

The future:

1) We would like to use the webhook Bug 9922 to keep the containers up to date.
2) we would like to be able to use YP to make an oe-core minimal container for our applications.  This would have a lot of size and reproducibility advantages: Bug 9502</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64179</commentid>
    <comment_count>3</comment_count>
    <who name="Randy Witt">randy.e.witt</who>
    <bug_when>2016-07-19 18:03:20 +0000</bug_when>
    <thetext>This currently exists at https://github.com/crops/toaster-container.

Since virtualenv no longer works with bitbake, I&apos;m updating the container and adding some testing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65046</commentid>
    <comment_count>4</comment_count>
    <who name="Randy Witt">randy.e.witt</who>
    <bug_when>2016-08-10 21:55:09 +0000</bug_when>
    <thetext>This is finished and currently exists on dockerhub. There are three repos on dockerhub:

https://hub.docker.com/r/crops/toaster-krogoth/
https://hub.docker.com/r/crops/toaster-master/
https://hub.docker.com/r/crops/toaster

The &quot;crops/toaster&quot; repo is &quot;floating&quot; and corresponds to the last release, currently &quot;krogoth&quot;.

&quot;crops/toaster-master&quot; contains master builds and toaster-next.

The container images are built, tested and pushed to dockerhub whenever the master, krogoth or toaster-next branches change.

https://travis-ci.org/crops/toaster-container</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>