bazel-nix-example
manifest-tool
Our great sponsors
bazel-nix-example | manifest-tool | |
---|---|---|
3 | 2 | |
26 | 696 | |
- | - | |
0.0 | 7.5 | |
about 1 year ago | 5 days ago | |
Starlark | Go | |
- | Apache License 2.0 |
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
manifest-tool
- Crafting container images without Dockerfiles
-
rust-musl-cross docker images added linux/arm64 architecture support
Now we have multi-arch(amd64(aka. x86_64) and arm64(aka. aarch64)) docker images built using manifest-tool, it's should run much faster on Apple Silicon Mac than using qemu to run amd64 docker image.
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.
umoci - umoci modifies Open Container images
dive - A tool for exploring each layer in a docker image
ormb - Docker for Your ML/DL Models Based on OCI Artifacts
nix-prefetch-github - Prefetch sources from github for nix build tool
saffire - [alpha] Controller to override image sources in the event that an image cannot be pulled.
nixpkgs - Nix Packages collection & NixOS
dinker - Dinker, dinky Docker images
jib - 🏗 Build container images for your Java applications.
reg - Docker registry v2 command line client and repo listing generator with security checks.
nix-ci