{"id":21195234,"url":"https://github.com/maruos/blueprints","last_synced_at":"2025-07-10T03:34:37.417Z","repository":{"id":71041094,"uuid":"64430716","full_name":"maruos/blueprints","owner":"maruos","description":"Container builder for Maru OS.","archived":false,"fork":false,"pushed_at":"2023-12-18T03:14:59.000Z","size":3220,"stargazers_count":16,"open_issues_count":1,"forks_count":13,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-05T10:41:38.023Z","etag":null,"topics":["containers","debian","lxc","maru"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maruos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-07-28T21:56:06.000Z","updated_at":"2025-03-10T18:45:21.000Z","dependencies_parsed_at":"2023-10-11T02:35:24.820Z","dependency_job_id":null,"html_url":"https://github.com/maruos/blueprints","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/maruos/blueprints","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maruos%2Fblueprints","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maruos%2Fblueprints/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maruos%2Fblueprints/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maruos%2Fblueprints/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maruos","download_url":"https://codeload.github.com/maruos/blueprints/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maruos%2Fblueprints/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264522650,"owners_count":23622410,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["containers","debian","lxc","maru"],"created_at":"2024-11-20T19:26:42.567Z","updated_at":"2025-07-10T03:34:36.401Z","avatar_url":"https://github.com/maruos.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Maru OS Container Blueprints\n\n![CI workflow](https://github.com/maruos/blueprints/actions/workflows/ci.yml/badge.svg)\n\nContainer image builder for Maru OS.\n\n## Blueprints\n\nImage building logic is separated into standalone plugins called blueprints.\n\nTo create your own blueprint, all you need to do is:\n\n1. Add a directory under blueprint/. Use this directory to store anything you\n   need during the build process.\n\n2. Add a script called plugin.sh to the top-level of your new blueprint\n   directory. This will be the entrypoint to your blueprint.\n\n3. Define the function `blueprint_build` in plugin.sh that will run your build\n   logic.\n\n4. Define the function `blueprint_cleanup` in plugin.sh that will clean up any\n   intermediate build artifacts.\n\nSee [blueprint/debian](blueprint/debian) as the canonical example for Debian.\n\n## Examples\n\nBuild the default container:\n\n    $ ./build.sh\n\nBuild a minimal Debian arm64 buster container called \"buster-container\":\n\n    $ ./build.sh -b debian -n buster-container -- -r buster -a arm64 --minimal\n\n*Tip: You will need root privileges to mount binfmt_misc for bootstrapping\nforeign architecture containers.*\n\n### Building with Docker\n\nIf you have Docker set up on your machine, just substitute `./build.sh` with\n`./build-with-docker.sh` to run a build within a Docker container with all the\nnecessary dependencies pre-installed. All args will be passed to `build.sh` just\nlike usual.\n\nBuild a Debian arm64 buster container called \"buster-container\" with Docker\n(args will be passed to `build.sh`):\n\n    $ ./build-with-docker.sh -b debian -n buster-container -- -r buster -a arm64 --minimal\n\nTo stop the build early you can run:\n\n    $ docker stop $CONTAINER_ID\n\nwhere `$CONTAINER_ID` is determined from `docker ps`.\n\n## Contributing\n\nSee the [main Maru OS repository](https://github.com/maruos/maruos) for more\ninfo.\n\n## Licensing\n\n[Apache 2.0](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaruos%2Fblueprints","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaruos%2Fblueprints","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaruos%2Fblueprints/lists"}