<div dir="ltr"><div>Nice.</div>And you have a docker recipe to create a sugar development environment?<div>Can be used in any operating system? </div><div>I am asking because we are thinking in how make easier develop in different os,</div><div>and also how distribute Sugar to users in other platforms.</div><div><br></div><div>Gonzalo </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 1, 2015 at 1:23 PM, Michaël Ohayon <span dir="ltr"><<a href="mailto:mohayon75@gmail.com" target="_blank">mohayon75@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks,<div><br></div><div>Docker is a great tool for booting up a container using LXC, you can refer to it as a very light vm focused on a specific task.</div><div>You can script in minutes a way to boot a program by targetting a specific OS from any GNU/Linux<br></div><div><br></div><div>For instance here is a Dockerfile to </div><div>- bootup an archlinux container</div><div>- upgrading packages</div><div>- copy a nginx conf file</div><div>- clone sugarizer repository</div><div>- expose nginx to port 80 on the host</div><div><br></div><div><div>[ohayon_m@ohayon-m-thinkpad /tmp]$ cat Dockerfile </div></div><div><div>FROM     base/archlinux:latest</div><div><br></div><div>RUN yes | pacman -Syy</div><div>RUN yes | pacman -S gcc nodejs openssh mongodb supervisor nginx git</div><div><br></div><div>COPY nginx.conf /etc/nginx/nginx.conf</div><div><br></div><div>RUN cd /opt; git clone <a href="https://github.com/llaske/sugarizer.git" target="_blank">https://github.com/llaske/sugarizer.git</a></div><div>RUN cd /opt/sugarizer/server; npm install</div><div>RUN mkdir /opt/sugarizer/db</div><div><br></div><div>EXPOSE 80</div><div><br></div><div>CMD ["/usr/bin/nginx"]</div></div><div><div>[ohayon_m@ohayon-m-thinkpad /tmp]$</div><div><br></div><div></div></div><div>Each modification of a container is handled like a git commit so you can rollback at any time and launch specific snapshots.</div><div>It has a "cache system". It will bootup almost instantly after the container is build.</div><div><br></div><div>I see it like a great tool to setup an env without having to script install for every OS or if you don't want to install every lib/framework/etc in your OS just for some testing.</div><div>It can be used in production and manage/scale with the new tools : Docker Swarm and Docker Compose</div><div><br></div><div>Hope you'll find it usefull !</div><div><br></div><div><br></div></div><div class="gmail_extra"><span class=""><br clear="all"><div><div><div dir="ltr"><div><span style="font-size:12.8000001907349px">--</span><br></div><div><div dir="ltr"><div dir="ltr"><span style="font-size:small">Michaël Ohayon</span></div><div dir="ltr">Manager de l'Innovation <span style="font-size:12.8000001907349px">Cloud et Mobilité</span><div>Epitech Innovation Hub</div></div></div></div></div></div></div>
<br></span><div><div class="h5"><div class="gmail_quote">2015-04-30 21:00 GMT+02:00 Gonzalo Odiard <span dir="ltr"><<a href="mailto:godiard@sugarlabs.org" target="_blank">godiard@sugarlabs.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Michaël, <div>Welcome!</div><div><br></div><div class="gmail_extra"><div class="gmail_quote"><span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div>Few months later, I joined the Docker Paris Hackathon and had built Sugarizer and Sugar containers (with graphical support for the Sugar one).</div><div><br></div></div></blockquote><div><br></div></span><div>Interesting. I don't know more from Docker than the sporadic news,</div><div>could explain what can be done with the Sugar container? </div><span><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>My proposal is the SugarWeb Basic ActivitySet which is a writting of some essential apps for the web version of Sugar.</div><div> <br></div></div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div>Here's the link to my GSOC proposal : <a href="http://wiki.sugarlabs.org/go/Summer_of_Code/2015/mohayon.SugarWebBasicActivitySet" target="_blank">http://wiki.sugarlabs.org/go/Summer_of_Code/2015/mohayon.SugarWebBasicActivitySet</a></div><div><br></div><div></div></div></blockquote><div><br></div></span><div>Great. Keep connected :)</div><span><font color="#888888"><div><br></div><div>Gonzalo</div></font></span></div>
</div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Gonzalo Odiard<br><br><div>SugarLabs - Software for children learning <br></div></div></div>
</div>