This repository contains files to generate a Podman or Docker image capable of
initializing builds with bitbake-setup.
- zsh shell
- oh-my-zsh integrations
- zsh-bitbake plugin for bitbake completions
- QEMU-ready
Start the container:
$ ./runThe run script can take extra arguments, which are passed to the container
command. For example, to pass the current working directory as a volume:
$ ./run --volume "$PWD":"$PWD" --workdir "$PWD"Tip
The default container engine can be changes by exporting the CONTAINERCMD
variable:
export CONTAINERCMD=dockerThe default is to use Podman.
bitbake-setup will be part of the $PATH, meaning you can run bitbake-setup
directly from the container:
$ bitbake-setup initThe ./run script can be tweaked with environment variables:
| Variable | Description | Default | Supported values |
|---|---|---|---|
CONTAINERCMD |
Command use for containers | podman |
podman or docker |
CONTAINERURI |
URI of the container image | ghcr.io/antznin/bitbake-setup:latest |
Any valid URI. For a local container: localhost/bitbake-setup:latest |
-
Podman:
podman build -t bitbake-setup:latest . -
Docker:
docker build -t bitbake-setup:latest .