<div dir="ltr">Hi !<div><br></div><div>I've updated the script.</div><div>You can now start a sugar environment and provide activities folders !</div><div><br></div><div><a href="https://github.com/mikklfr/docker-sugar">https://<span class="" id=":1ij.15" tabindex="-1">github</span>.com/<span class="" id=":1ij.16" tabindex="-1">mikklfr</span>/docker-sugar<br></a></div><div><br></div><div>I've got two activities folders which I want to test : 2048.activity and <span class="" id=":1ij.17" tabindex="-1">Valorar</span>.activity.</div><div><br></div><div>I can run sugar and provide those activities by running the script like this : </div><div><br></div><div><div>$>sh run.sh 2048.activity <span class="" id=":1ij.19" tabindex="-1">Valorar</span>.activity</div></div><div><br></div><div>Sugar shows up and activities are available in the list.</div><div><br></div><div>You can edit the scripts from the host, they are synced with the docker container.</div><div><br></div><div class="gmail_extra">Maybe you have some specific topics I could look into to get something useful for your needs ?</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div><div class="gmail_signature"><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"><span class="" id=":1ij.20" tabindex="-1">Michaël</span> <span class="" id=":1ij.21" tabindex="-1">Ohayon</span></span></div><div dir="ltr">Manager <span class="" id=":1ij.22" tabindex="-1">de</span> <span class="" id=":1ij.23" tabindex="-1">l'Innovation</span> <span style="font-size:12.8000001907349px">Cloud <span class="" id=":1ij.24" tabindex="-1">et</span> <span class="" id=":1ij.25" tabindex="-1">Mobilité</span></span><div><span class="" id=":1ij.26" tabindex="-1">Epitech</span> Innovation Hub</div></div></div></div></div></div></div>
<br><div class="gmail_quote">2015-05-11 18:26 GMT+02:00 <span class="" id=":1ij.27" tabindex="-1">Michaël</span> <span class="" id=":1ij.28" tabindex="-1">Ohayon</span> <span dir="ltr"><<a href="mailto:mohayon75@gmail.com" target="_blank">mohayon75@gmail.com</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,<div><br></div><div>I've just setup something to run sugar with docker.</div><div><br></div><div>It will work on GNU/Linux only with X11 and pulseaudio.</div><div><br></div><div>I've published it on the docker registry and github.<br></div><div><br></div><div>- <a href="https://github.com/mikklfr/docker-sugar" target="_blank">https://github.com/mikklfr/docker-sugar</a></div><div>- The docker image is mikkl/sugar</div><div><br></div><div>It's kind of a poc for now.</div><div>I'll setup a script to test an activity asap.</div><div><br></div><div>If you want to test it :</div><div><br></div><div>- Download and start docker service</div><div>- Run the .sh script : <a href="https://github.com/mikklfr/docker-sugar/blob/master/run.sh" target="_blank">https://github.com/mikklfr/docker-sugar/blob/master/run.sh</a></div><div><br></div><div>I'll give updates :)</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-05-03 6:17 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"><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"><div><div><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><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><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></div></div><span><font color="#888888">-- <br><div><div dir="ltr">Gonzalo Odiard<br><br><div>SugarLabs - Software for children learning <br></div></div></div>
</font></span></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div></div>