Skip to content

Docker container for Buildroot in version 2014.02

Notifications You must be signed in to change notification settings

steffen-sanwald/Buildroot_2014.02

 
 

Repository files navigation

Buildroot container

Build Status

This is a Docker container for Buildroot for building root file systems (rootfs). It was created to support the Docker nano project.

The configuration for this repository builds an empty rootfs because it is intended to serve as a template for your own configurations. Get started building your own product by cloning the template repository.

Building

To build the rootfs follow these steps.

  1. ./nano build – Build the Docker image locally and tag as buildroot.
  2. ./nano run – Removes any previous container started by this script and runs a new interactive container named Buildroot from the local buildroot image.
  3. buildroot-configure – Configure Buildroot to install desired packages.
  4. buildroot – Build new rootfs.
  5. [Ctrl]+[D] – Exit container.
  6. ./nano pull rootfs – Copies the compressed rootfs tarball from the Buildroot container to the working directory.
  7. ./nano pull config – Copies the Buildroot configuration if changes have been made.

Creating a Docker image

A rootfs tarball can be directly imported as a new Docker image using the following command, where foo is the name of the image.

docker import - foo < rootfs.tar.xz

The image can be run normally using a command similar to the following.

docker run -it foo /usr/bin/bar

About

Docker container for Buildroot in version 2014.02

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Roff 55.0%
  • Shell 31.6%
  • Dockerfile 13.4%