Giter VIP home page Giter VIP logo

crops-generator's Introduction

crops-generator
---------------
crops-generator is a Kconfig and python3 Kconfiglib tool to make building off of
CROPS easier. Because it's Kconfig based, extending it is trivial.

How to use
-----------
# Create a .config
config-mconf ./Kconfig
# Generate the Dockerfile
./crops_generator.py --kconf .config --docker <containercontext>
DOCKER_BUILDKIT=1 docker build -t mycrops/<containercontext> <containercontext>
docker run -it -v /home/$USER/workspace:/workspace -u 1000:1000 --entrypoint=/bin/bash mycrops/<containercontext>

Directories
-----------

├── build - KConfig specific to yoctoproject build
│   ├── repo - KConfig specific to build setup
│   └── tc - KConfig specific to external toolchains
├── config - config directory
│   ├── entrypoints NN_<filename>.<ext> of entrypoints.
│   ├── envs - envs.<osname>-<osversion> Dockerfile fragments to add ENV to Dockerfile
│   ├── pkgs - packages.<osname>-<osversion> Dockerfile fragments to modify what is installed in container
│   └── repo - Dockerfile fragments for including buildsystem
│   └── tc - toolchain.docker Dockerfile fragments for including external toolchain
├── container - KConfig to override things like Registry URI/namespace for crops containers
├── lib - crops libraries
├── os - KConfig for base host OS
└── prepackaged_configs - Eventually for example .configs

TODO
----
- Add some good external-tc examples
- Add explaination on why we don't mod local.conf (USE TEMPLATES!!!)
- Better docs

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.