Skip to content
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
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

aniongithub
Copy link
Contributor

@aniongithub aniongithub commented Apr 21, 2021

Currently, anyone wanting to create ready-to-use or ready-to-boot images needs

  • manual setup after booting a base image, or
  • Fork pi-gen and edit/change configuration and build steps.

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!

…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.
@aniongithub 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants