Skip to content

antznin/bitbake-setup-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bitbake-setup-container

This repository contains files to generate a Podman or Docker image capable of initializing builds with bitbake-setup.

Features

How to use

Start the container:

$ ./run

The 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=docker

The 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 init

Configuration

The ./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

Building

  • Podman:

    podman build -t bitbake-setup:latest .
  • Docker:

    docker build -t bitbake-setup:latest .

About

Container files to use bitbake-setup

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages