[Sugar-devel] Introduction to the list
godiard at sugarlabs.org
Sun May 3 00:17:02 EDT 2015
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
and also how distribute Sugar to users in other platforms.
On Fri, May 1, 2015 at 1:23 PM, Michaël Ohayon <mohayon75 at gmail.com> wrote:
> 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 at 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 at 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 <godiard at sugarlabs.org>:
>> Hi Michaël,
>> 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 :
>> Great. Keep connected :)
SugarLabs - Software for children learning
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Sugar-devel