balena-io-modules / balena-preload

Script for preloading containers onto balena device images
https://www.balena.io/
Apache License 2.0
35 stars 8 forks source link

Use balenaEngine instead of docker for preload image #264

Open klutchell opened 3 years ago

klutchell commented 3 years ago

This will require we update balenaEngine to v20.04 for cgroups v2 support.

We will also likely need to build the engine from source and disable systemd/journald dependencies. Perhaps something similar has been done for balena-in-a-container but I haven't checked yet.

klutchell commented 3 years ago

We may want to use buildroot for this container base as suggested in this internal discussion.

https://www.flowdock.com/app/rulemotion/r-beginners/threads/6NqQM8oWZ-3adIy_hgSblHpChyQ