bazel-nix-example
conda-docker
Our great sponsors
bazel-nix-example | conda-docker | |
---|---|---|
3 | 1 | |
26 | 60 | |
- | - | |
0.0 | 0.0 | |
about 1 year ago | 9 months ago | |
Starlark | Python | |
- | BSD 3-clause "New" or "Revised" License |
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
conda-docker
-
Crafting container images without Dockerfiles
For creating images without docker from conda/mamba environments, there's also the existing `conda-docker` tool https://github.com/conda-incubator/conda-docker.
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.
apko - Build OCI images from APK packages directly without Dockerfile
dive - A tool for exploring each layer in a docker image
rules_docker - Rules for building and handling Docker images with Bazel
nix-prefetch-github - Prefetch sources from github for nix build tool
crane - A Nix library for building cargo projects. Never build twice thanks to incremental artifact caching.
nixpkgs - Nix Packages collection & NixOS
nix-ci
jib - 🏗 Build container images for your Java applications.
buildah - A tool that facilitates building OCI images.
dinker - Dinker, dinky Docker images
manifest-tool - Command line tool to create and query container image manifest list/indexes