B
BlueBuild5mo ago
Noah

Asking for advice on building images locally

Hello everyone, I am wanting to build my image locally instead of on the cloud like github. What would be the best way to go about this? I do not have a separate computer for me to use, only the one that is running discord right now
Solution:
You can install the bluebuild CLI (or, it should already be installed if you are on your custom image)
Jump to solution
10 Replies
Solution
xyny
xyny5mo ago
You can install the bluebuild CLI (or, it should already be installed if you are on your custom image)
xyny
xyny5mo ago
After that it's just down to running bluebuild build To use your locally built image you can use bluebuild switch, or opt for pushing it to a locally-hosted registry bluebuild switch should work for you, just need to remember to run the command every time you want an update You can of course always ask for more detailed help or use --help to see more detailed info about the commands
Noah
NoahOP5mo ago
Ok :] thank you
Noah
NoahOP5mo ago
bluebuild swithc is having an error for me, it seems that the base fedora image (yes im directly basing off fedora) is missing container-image-reference
× missing field `container-image-reference` at line 129 column 5
× missing field `container-image-reference` at line 129 column 5
Noah
NoahOP5mo ago
i made an issue that is to fix this BUG inside your code @ https://github.com/blue-build/cli/issues/418
GitHub
bluebuild switch will not work when a non-container-based deploym...
If a non-container based deployment exists in the system's rpm-ostree status then the switch command will not work. This is due to the RpmOstreeDeployments struct (code here) expecting a contai...
Luke Skywunker
Luke Skywunker5mo ago
Mind running rpm-ostree status --json and pasting that here? That would help me understand what shape the data can be in for this scenario
Noah
NoahOP5mo ago
Noah
NoahOP5mo ago
this was taken from the log I got from bluebuild switch when it wasnt working i also omitted some of the long lines because they were very large. these lines should not have been important
Luke Skywunker
Luke Skywunker5mo ago
Thanks! This will be super helpful
Noah
NoahOP5mo ago
all good, i love to see this beautiful project improve

Did you find this page helpful?