-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability for build-docker.sh to externalize build steps and configuration #507
Open
aniongithub
wants to merge
12
commits into
RPi-Distro:master
Choose a base branch
from
aniongithub:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains 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
… 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.
aniongithub
changed the title
Add ability for build-docker.sh to externalizations
Add ability for build-docker.sh to externalize build steps and configuration
Apr 21, 2021
Refactor of mount and env. handling to read better
AaronDewes
approved these changes
May 13, 2021
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!