Skip to content

paulosell/devops-buildroot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Buildroot Docker Image

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.

Features

  • 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

Getting Started

Prerequisites

Ensure you have the following installed on your system:

Building the Image

To build the Docker image, run:

make build

This will create a Docker image tagged with the latest Git commit hash.

Running an Interactive Shell

To start an interactive shell within the container, use:

make shell

This will launch a bash shell inside the container.

Publishing the Image

To push the image to a remote repository, run:

make publish

This 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

Makefile Commands

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.

Docker Image Details

The Dockerfile performs the following steps:

  1. Starts from Debian 12.9 base image.
  2. Installs required packages for Buildroot.
  3. Downloads and extracts Buildroot 2024.11.1.
  4. Moves Buildroot files to /var/buildroot.
  5. Provides a Makefile for building, tagging, and publishing the image.

License

This project is licensed under the MIT License.

Author

pfs

About

Buildroot 2024.11.1 docker container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors