BlueBuild's command line program that builds custom Fedora Atomic images based on your recipe.yml
BlueBuild's command line program that builds custom Fedora Atomic images based on your recipe.yml
BlueBuild's command line program that builds Containerfiles and custom images based on your recipe.yml.
The bluebuild tool takes advantage of newer build features. Specifically bind, cache, and tmpfs mounts on the RUN instructions. We support using the following tools and their versions:
Every image created with bluebuild comes with the CLI installed. If you have not built and booted a bluebuild created image, you can follow these instructions to install it.
This is the best way to install as it gives you the opportunity to build for your specific environment.
cargo install --locked blue-buildThis will install the binary on your system in /usr/local/bin.
podman run --pull always --rm ghcr.io/blue-build/cli:latest-installer | bashdocker run --pull always --rm ghcr.io/blue-build/cli:latest-installer | bashbash You can then use this with docker, podman, or buildah to build and publish your image. Further options can be viewed by running bluebuild template --help
If you don't care about the details of the template, you can run the build command.
bluebuild build ./recipes/recipe.ymlThis will template out the file and build with docker, podman, or buildah.
The bluebuild completions command generates shell completions, printed to stdout. These completions can be stored for integration in your shell environment. For example, on a system with bash-completion installed:
# user completions
$ bluebuild completions bash > ~/.local/share/bash-completion/completions/bluebuild
# system-wide completions
$ bluebuild completions bash | sudo tee /usr/share/bash-completion/completions/bluebuildSubsequent invocations of bluebuild will respond to `` autocompletions:
$ bluebuild # press
-v -V --help template bug-report
-q --verbose --version upgrade completions
-h --quiet build rebase helpCurrently, bluebuild completions are available for bash, zsh, fish, powershell, nushell, and elvish shell environments. Please follow your shell's documentation for completion scripts.
With the switch command, you can build and boot an image locally using an oci-archive tarball. The switch command can be run as a normal user and will only ask for sudo permissions when moving the archive into /etc/bluebuild.
bluebuild switch recipes/recipe.ymlYou can initiate an immediate restart by adding the --reboot/-r option.
You can use our GitHub Action by using the following .github/workflows/build.yml:
…We also support GitLab CI! Fun fact, this project started out as a way to build these images in GitLab. You will want to make use of GitLab's Secure Files feature for using your cosign private key for signing. Here's an example of a .gitlab-ci.yml:
…No open issues yet, or sync has not completed.