Hi, I've just setup something to run sugar with docker.
It will work on GNU/Linux only with X11 and pulseaudio. I've published it on the docker registry and github. - https://github.com/mikklfr/docker-sugar - The docker image is mikkl/sugar It's kind of a poc for now. I'll setup a script to test an activity asap. If you want to test it : - Download and start docker service - Run the .sh script : https://github.com/mikklfr/docker-sugar/blob/master/run.sh I'll give updates :) -- Michaël Ohayon Manager de l'Innovation Cloud et Mobilité Epitech Innovation Hub 2015-05-03 6:17 GMT+02:00 Gonzalo Odiard <godi...@sugarlabs.org>: > Nice. > And you have a docker recipe to create a sugar development environment? > Can be used in any operating system? > I am asking because we are thinking in how make easier develop in > different os, > and also how distribute Sugar to users in other platforms. > > Gonzalo > > On Fri, May 1, 2015 at 1:23 PM, Michaël Ohayon <mohayo...@gmail.com> > wrote: > >> Thanks, >> >> 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. >> You can script in minutes a way to boot a program by targetting a >> specific OS from any GNU/Linux >> >> For instance here is a Dockerfile to >> - bootup an archlinux container >> - upgrading packages >> - copy a nginx conf file >> - clone sugarizer repository >> - expose nginx to port 80 on the host >> >> [ohayon_m@ohayon-m-thinkpad /tmp]$ cat Dockerfile >> FROM base/archlinux:latest >> >> RUN yes | pacman -Syy >> RUN yes | pacman -S gcc nodejs openssh mongodb supervisor nginx git >> >> COPY nginx.conf /etc/nginx/nginx.conf >> >> RUN cd /opt; git clone https://github.com/llaske/sugarizer.git >> RUN cd /opt/sugarizer/server; npm install >> RUN mkdir /opt/sugarizer/db >> >> EXPOSE 80 >> >> CMD ["/usr/bin/nginx"] >> [ohayon_m@ohayon-m-thinkpad /tmp]$ >> >> Each modification of a container is handled like a git commit so you can >> rollback at any time and launch specific snapshots. >> It has a "cache system". It will bootup almost instantly after the >> container is build. >> >> 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. >> It can be used in production and manage/scale with the new tools : Docker >> Swarm and Docker Compose >> >> Hope you'll find it usefull ! >> >> >> >> -- >> Michaël Ohayon >> Manager de l'Innovation Cloud et Mobilité >> Epitech Innovation Hub >> >> 2015-04-30 21:00 GMT+02:00 Gonzalo Odiard <godi...@sugarlabs.org>: >> >>> Hi Michaël, >>> Welcome! >>> >>> Few months later, I joined the Docker Paris Hackathon and had built >>>> Sugarizer and Sugar containers (with graphical support for the Sugar one). >>>> >>>> >>> Interesting. I don't know more from Docker than the sporadic news, >>> could explain what can be done with the Sugar container? >>> >>> >>>> My proposal is the SugarWeb Basic ActivitySet which is a writting of >>>> some essential apps for the web version of Sugar. >>>> >>>> >>> Here's the link to my GSOC proposal : >>>> http://wiki.sugarlabs.org/go/Summer_of_Code/2015/mohayon.SugarWebBasicActivitySet >>>> >>>> >>> Great. Keep connected :) >>> >>> Gonzalo >>> >> >> > > > -- > Gonzalo Odiard > > SugarLabs - Software for children learning >
_______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel