neuronalmotion / qtrpi

An easy-to-use environment to cross-compile Qt applications for Raspberry Pi from your desktop.
MIT License
104 stars 40 forks source link

Docker builds #96

Open MoJo2600 opened 3 years ago

MoJo2600 commented 3 years ago

I'd like to hear your opinion about docker builds. Let's say I want to build welle.io (as an example). It would be awesome to use docker for this, but i can't use the provided -minimal sysroot because I have to add packages and QT modules. The way to do this would be to add modules to qt-modules.txt and adjust prepare-sysroot-full.sh to add packages. Then compile everything on my local machine and create a docker container with my local compiled resources, right? The current docker file is meant to be used in a different way? It retrieves the systroot by downloading it and the sysroot is initially created by a jenkins buildjob if i see this right. It would be nice to add some scripts to automatically create a custom docker image with my customizations to use it in a automatic build environment.

synapticvoid commented 3 years ago

Hi Christian,

Just to tell you I haven't forgotten about you, my week was quite busy. I'll take some time next Tuesday to review thoroughly your work. Thanks again for contributing :+1: !

MoJo2600 commented 3 years ago

No worries! I achieved my goal to cross compile for my raspberry pi. If we can somehow make this available for everyone else, I'm glad. But there is no need to rush :)