Description
Hey so for some time I have been working on raspberry pi image generation.
Probably what I end up doing with pi-builder looks more like a fork or use of your design pattern.
I guess that one of the things that I'm looking for here is criticism of my proposed architecture because obviously you have spent a lot of time on this as well.
So far I have been using packer-builder-arm. Everything that would happen inside the darker container here happens inside a chroot over there.
The chroot doesn't allow for some things, like systemctl enable
, and if you're using ubuntu, apt upgrade, If that upgrade will trigger kernel changes.
With pi-builder, what I found is that there's probably too many options although I think that this is the closest to ideal solution that I found by a wide margin. So what I'm going to do is I am going to take all of the Dockerfile.part files and make them into one Dockerfile. There are a number of reasons for this but probably the biggest one is that this will be fed into a code generator and spent out the other side and I think it's going to end up being a lot easier to manage as a single Dockerfile, single Makefile and a folder of dependencies.
I could be wrong and that's part of why am making this issue actually. I think that this is a really badly needed product. Currently it's much too hard to create images for embedded devices. It's that difficulty that actually drove me to try and bundle this into starport, our blockchain scaffolding tool.
I might break this out into an independent repository as kind of like a framework similar to pi builder but with fewer options and only in a 64-bit mode.
Ideally, I'd like my tool to be totally separate from the app that runs on top of it.
I just wanted to say thanks so much for your work, there are a lot of things in here that I had been having a difficult time figuring out and I'm just delighted that you made this open source and allowed me to learn from it. I'll link you to what I come up with later tonight. So far it's just been some basic customization and toying around but I think that in the next eight hours or so I'll actually have my setup in a pretty decent spot, owing in large part to your work.
Cheers!
-Jacob