This repository provides a Docker-based environment for working with Buildroot. The Docker image is based on Debian 12.9 and includes all necessary dependencies to run Buildroot.
- Debian 12.9 base image
- Pre-installed dependencies for Buildroot
- Automated build, tagging, and publishing workflow via Makefile
- Shell access to the container for interactive use
Ensure you have the following installed on your system:
To build the Docker image, run:
make buildThis will create a Docker image tagged with the latest Git commit hash.
To start an interactive shell within the container, use:
make shellThis will launch a bash shell inside the container.
To push the image to a remote repository, run:
make publishThis will tag and push the image to docker.io/<your_org>/buildroot. By default, the organization is paulosell, but it can be overridden using the ORG variable:
make publish ORG=your_org| Command | Description |
|---|---|
make build |
Builds the Docker image and tags it with the latest commit hash and latest tag. |
make shell |
Runs an interactive shell inside the container. |
make publish |
Pushes the built image to the Docker registry. Supports overriding the organization via ORG variable. |
The Dockerfile performs the following steps:
- Starts from Debian 12.9 base image.
- Installs required packages for Buildroot.
- Downloads and extracts Buildroot 2024.11.1.
- Moves Buildroot files to
/var/buildroot. - Provides a Makefile for building, tagging, and publishing the image.
This project is licensed under the MIT License.
pfs