<div dir="ltr">Hi!<br><div><div class="gmail_extra"><br><div class="gmail_quote">2015-01-07 2:25 GMT+01:00 Mathieu Tarral <span dir="ltr"><<a href="mailto:mathieu.tarral@gmail.com" target="_blank">mathieu.tarral@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi David,<br>
<br>
Le 04/01/2015 13:55, David Gil Oliva a écrit :<br>
<span class="">> Hi!<br>
><br>
> El dia 04/01/2015 12:39, "Mathieu Tarral" <<a href="mailto:mathieu.tarral@gmail.com">mathieu.tarral@gmail.com</a><br>
</span>> <mailto:<a href="mailto:mathieu.tarral@gmail.com">mathieu.tarral@gmail.com</a>>> va escriure:<br>
<span class="">>><br>
>> Hi,<br>
>><br>
>> as you know, building KF5 from source may not be an easy task, due to<br>
>> build dependencies which may or may not be available for your distro.<br>
>><br>
>> That's why I started to compile KF5 into a Docker container.<br>
>><br>
>> This way you can keep your main system clean, and avoid to install a lot<br>
>> of *-dev packages.<br>
>><br>
>> I would like to share a set of Dockerfiles which will build<br>
>> an image with all the necessary build dependencies already installed.<br>
><br>
> Instead of a set of Dockerfiles, each one for a different distro, which<br>
> makes for a lot of duplicated code, could it be written in a single<br>
> Dockerfile which checks the OS and does as approppriate for that OS?<br>
<br>
</span>Actually, a Dockerfile is just describing how to build a specific system<br>
image.<br>
<br>
It just gives the necessary instructions like DO something, then DO<br>
something else, and It has not been designed to receive parameters, nor<br>
handle conditions.<br>
<br></blockquote><div><br></div><div>OK, I see. I was confused because I have a Chef background. <br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Furthermore, you cannot merge these Dockerfile into one because their<br>
base systems are different (Ubuntu, Archlinux, OpenSuse, Fedora).<br>
The first instruction of each Dockerfile is FROM <base_system> and it<br>
cannot be configured.<br>
<br>
Having one Dockerfile per distro is nice, because you can see the<br>
differences between them, mostly for package naming and default packages<br>
installed.<br></blockquote><div><br></div><div>Now that I understand how Docker works, I see why there's one Dockerfile per distro.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span class=""><br>
> Another issue that I see is the Qt version. Can we rely on always having<br>
> the needed version from the ubuntu-sdk-team repository?<br>
<br>
</span>This repository provides packages for Qt5, in version 5.2.1<br>
It's not the latest version of Qt5, so one day you might have kf5 build<br>
issues because of this.<br>
<br>
But I haven't found an up-to-date repo for Qt5 yet.<br>
Maybe we should download Qt5 from <a href="http://qt.io" target="_blank">qt.io</a> in this case ?<br></blockquote><div><br></div><div>I have found a Dockerfile [1] that can be tweaked to install any released version of Qt5 from <a href="http://qt.io">qt.io</a>.<br><br>[1] <a href="https://registry.hub.docker.com/u/rabits/qt/dockerfile/">https://registry.hub.docker.com/u/rabits/qt/dockerfile/</a><br><br></div><div>Regards,<br><br></div><div>David Gil<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=""><div><br> </div></div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=""><div class="h5">
Regards.<br>
<br>
--<br>
Mathieu Tarral<br>
_______________________________________________<br>
Kde-frameworks-devel mailing list<br>
<a href="mailto:Kde-frameworks-devel@kde.org">Kde-frameworks-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kde-frameworks-devel" target="_blank">https://mail.kde.org/mailman/listinfo/kde-frameworks-devel</a><br>
</div></div></blockquote></div><br></div></div></div>