bazel-nix-example
nix-prefetch-github
Our great sponsors
bazel-nix-example | nix-prefetch-github | |
---|---|---|
3 | 2 | |
26 | 64 | |
- | - | |
0.0 | 7.0 | |
about 1 year ago | 2 months ago | |
Starlark | Python | |
- | GNU 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
nix-prefetch-github
-
ZSH config
nix-prefetch-github is a really helpful tool for getting all needed information. You could simply just use it as below:
-
Building Container Images with Nix
If your dependency is on GitHub, this tool makes it super easy. https://github.com/seppeljordan/nix-prefetch-github
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.
mach-nix - Create highly reproducible python environments
dive - A tool for exploring each layer in a docker image
discord-overlay - [DEPRECATED] A Nixpkgs overlay providing the latest version(s) of the Discord desktop app, automatically updated every 30 minutes
nixpkgs - Nix Packages collection & NixOS
jib - 🏗 Build container images for your Java applications.
dinker - Dinker, dinky Docker images
wagdav
conda-docker - Create minimal docker images from conda environments
openfmb.adapter