GithubHelp home page GithubHelp logo

rootbuilder's Introduction

rootbuilder

This is a Docker build environment container for buildroot. You can use this container to produce a root fielsystem tar that you can use for building BusyBox containers from scratch. See the example directory for how you'd normally use rootbuilder.

Using rootbuilder

The rootbuilder container is just a pre-setup build environment with a ready-to-go buildroot directory. Using this, you can put together an easy workflow to configure and build a rootfs.

As you can see in the example directory, the Dockerfile is used to make buildroot using a configuration file. The Makefile gives you your main workflow tasks. The config task just runs make nconfig in rootbuild and pulls out the .config file. The build task then executes docker build from the Dockerfile, which uses the configuration file, resulting in a container that will have a rootfs artifact that the build task extracts.

In other words, you can copy the example directory as a directory in your project, then in it run:

$ make config

And you'll get an interactive menu to define a buildroot configuration. The configuration will get stored in that directory and used when you run:

$ make build

Which will take forever to run, but ultimately put a rootfs.tar in the directory. And all the messy stuff happens inside Docker.

Credit

This project is inspired by the tarmakers by Brian Clements, itself inspired by the original tarmaker work of the venerable Jérôme Petazzoni.

Sponsor

This project was made possible thanks to DigitalOcean.

License

BSD

rootbuilder's People

Contributors

progrium avatar

Watchers

Stig Kleppe-Jørgensen avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.