Lakademy 2016 – Starting to automate some servers on KDE


Lakademy is a great event that happens every year since 2014. It is a Latin American event, but normally it happens in Brasil (Let’s try to do that in another place in Latin American? Do you have a good one? Let us know).

It is the third time that I participate, but this time I can send some code to KDE repository. No I am not developing software! We started to automate some things in KDE-Sysadmin team.


This Lakademy we had Nicolas from Argentina with us. He is more regular on KDE Sysadmin and has a lot of context who their works. I liked that, because I wanna help more, but is hard to discovery how do that alone.

In the first day of Lakademy we decide to automate a new and small service of KDE. Teleirc is a software responsible to sync chats from IRC to Telegram and vice-versa.

We chose Ansible to do this job, because it is simple to non-development people collaborate and the push model to need any agents and master to use it.

We learned a lot about best practice, testing and how starts a project using ansible, how do that from scratch.

We created a role to teleirc and saved on that repository. We still need to discuss more about organization of this new infra code and how to deploy it automatically on our KDE servers.

In the second day Nicolas continued to play with ansible and our Teleirc role, but we jumped to try to use Docker to help new developers starts fast in a KDE project. The idea is create a image with all dependency to build some KDE project code and if you need to start help with code you don’t need to wast your time to handle all dependencies first. Using the docker image is only install docker, pull the image and run a container to build your code.

I started with Cantor, because my friend Filipe Saraiva is a developer of this software and he was available to help me on Lakademy too. I finished a first proposal of this idea and shared to everyone that was attending Lakademy too.

To reproduce Docker image of Cantor, follow this steps:

git clone

cd kde/cantor

docker build -t cantor .

sudo docker run -ti –rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix cantor

Obs: It only will run if you are using GNU/Linux. It will fail if you are using docker toolbox in another SO.

In the third day I continued the job with Cantor image and split base kde packages in another Docker image to use as base image to others KDE docker images. I played again with Nicolas in our Ansible stuffs and finally got a completed role to put that automated service in production.

In the last day I can’t go to Lakademy, because my son was sick 🙁 But I started a docker image to Minuet.

IMHO the conclusion of Lakademy is: Fantastic! I liked to see my friends again and finally send some oficial code to KDE! I am happy to help KDE-Sysadmin team and make more easier the Developer’s life with that Docker image build idea.


Thanks a lot to Sandro Andrade to invite me again. Thanks Filipe Saraiva to help me create that docker image and Nicolas to introduce me KDE Sysadmin details. I hope my collaboration with KDE-Sysadmin team increases soon.