Add ability for build-docker.sh to externalize build steps and configuration #507
Open
aniongithub wants to merge 12 commits intoRPi-Distro:masterfrom
Open
Add ability for build-docker.sh to externalize build steps and configuration #507aniongithub wants to merge 12 commits intoRPi-Distro:masterfrom
aniongithub wants to merge 12 commits intoRPi-Distro:masterfrom
Conversation
… for custom stages, binaries, etc.
…o we can build custom images without having to modify pi-gen 2. Add ability to pass in key=value pairs that can be accessed as custom environment variables in config, allowing injection of secrets into a custom image for wi-fi setup or other purposes. Together, this commit allows a repository using an un-modified version of this commit as a submodule to create a fully working, bootable, connect-able, custom image for a raspberry pi that needs NO manual setup.
…cant.conf during the image build process.
Refactor of mount and env. handling to read better
AaronDewes
approved these changes
May 13, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Currently, anyone wanting to create ready-to-use or ready-to-boot images needs
This change allows creation of fully customizable, bootable, WiFi connectable images that can be built in the cloud or anywhere without having to modify pi-gen.
See this template repository that enables a fully GitHub Actions based image build process and this Raspotify appliance template for an example.
I also made this YouTube video explaining how it all comes together.
Glad to answer any questions about this approach, I love Raspbian, Raspberry Pi and am hoping to significantly lower the bar for entry, especially for novice users.
Thanks!