bazel-nix-example
mkosi
Our great sponsors
bazel-nix-example | mkosi | |
---|---|---|
3 | 16 | |
26 | 1,042 | |
- | 3.7% | |
0.0 | 9.9 | |
about 1 year ago | 5 days ago | |
Starlark | Python | |
- | GNU Lesser General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
bazel-nix-example
-
Crafting container images without Dockerfiles
I put together an example that mixes Nix and Bazel a couple of years ago: https://github.com/jvolkman/bazel-nix-example
Nix is used to build a base Docker image, and Bazel builds layers on top.
-
Optimizing Docker image size and why it matters
It sounds so cool, but then I don’t get out of the base image before you’re writing your own Python launcher in a heredoc in a shell script in a docker image builder in a mix derivation[0]? Curiosity compels me to ask: how did all that become necessary?
[0]: https://github.com/jvolkman/bazel-nix-example/blob/e0208355f...
-
Building Container Images with Nix
Not sure of any writing that ties all of the pieces together, but I made a small example for you: https://github.com/jvolkman/bazel-nix-example
mkosi
- Build Initramfs Rootless
-
Building minimal GNU/Linux operating system images using Systemd Mkosi
I work with a free and open-source software community called Fedora Project. I had the opportunity to moderate the talk of one of the maintainers of the Systemd suite during the annual contributor conference, Flock To Fedora 2023 where he talked about a tool named Mkosi.
- Mkosi: Build Bespoke OS Images
-
Seamlessly run other Linux distributions inside your terminal
For testing i prefer systemd-nspawn containers with mkosi. A neat tool for running your other fav. distro in a terminal. Works like a charm and integrates nicely in your system. Eg. logs and systemd services or CI testing.
- https://github.com/systemd/mkosi
- man:systemd-nspawn(1)
- man:machinectl(1)
-
Bootable Live USB (Debian)
you're gonna have to build this on an x86 pc. sudo dnf install arch-install-scripts bubblewrap gdisk qemu-user-static rsync systemd-container python3 -m pip install --user git+https://github.com/systemd/mkosi.git git clone https://github.com/leifliddy/asahi-fedora-usb.git cd asahi-fedora-usb
-
LAPAS: The story of how I made a distribution for LanPartyServers
There's also mkosi: https://github.com/systemd/mkosi. This one outputs an iso or similar image file and supports many base distributions.
-
systemd /boot/loader/entries/[entry].conf title default
[1] https://github.com/systemd/mkosi/issues/376
-
Crafting container images without Dockerfiles
System's mkosi is worth checking out too: https://github.com/systemd/mkosi I don't think it generates docker/OCI images directly, but it definitely can generate a tarball of the final image contents and then crane of a similar tool could package it up into an appropriate image. For just docker usage it's probably overkill, the main advantage would be it can build other image types like adding a kernel and init to be a fully bootable iso of VM image.
-
Rocket.Chat🚀+ Constellation💫 = most secure chat server ever (?!)
Constellation ensures that all K8s nodes run on AMD-based Confidential VMs (CVMs). CVMs are strongly isolated from the host and remain encrypted in memory at runtime. Constellation also ensures that all nodes run the same minimal mkosi-based node image.
-
AtomsDevs/Atoms - Easily manage Linux Chroot(s) and Containers
At first glance I thought your project is a frontend for mkosi but then I saw that you support non-systemd targets too. Mentioning it here because it may be relevant to other users/developers.
What are some alternatives?
template-nixos - The NixOS template, configured for Gitpod (www.gitpod.io) to give you pre-built, nix based ephemeral operating system environments in the cloud.
ostree - Operating system and container binary deployment and upgrades
dive - A tool for exploring each layer in a docker image
efiboots - Manage EFI boot loader entries with this simple GUI
nix-prefetch-github - Prefetch sources from github for nix build tool
btdu - sampling disk usage profiler for btrfs
nixpkgs - Nix Packages collection & NixOS
dnfdragora - dnfdragora is a dnf frontend based on libyui abstraction
jib - 🏗 Build container images for your Java applications.
nvidia-auto-installer-for-fedora-linux - A CLI tool which lets you install proprietary NVIDIA drivers and much more easily on Fedora Linux (32 or above and Rawhide)
dinker - Dinker, dinky Docker images
sig-security - 🔐CNCF Security Technical Advisory Group -- secure access, policy control, privacy, auditing, explainability and more!