jvolkman/bazel-nix-example
View on GitHub ↗ ★ 28 Starlark
4 mentions on Hacker News by 2 people: 0 stories, 4 comments · first 2021-08-20 · latest 2023-02-06
20082026
-
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.
comment by jvolkman · 2023-02-06 · in Crafting container images without Dockerfiles -
…in a nix derivation[0]? Curiosity compels me to ask: how did all that become necessary? [0]: https://github.com/jvolkman/bazel-nix-example/blob/e0208355f...
comment by kristjansson · 2022-01-07 · in Optimizing Docker image size and why it matters -
…else we want. Bazel layers our actual Python app on top of it. No dockerfiles at all. Example: https://github.com/jvolkman/bazel-nix-example
comment by jvolkman · 2022-01-07 · in Optimizing Docker image size and why it matters -
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
comment by jvolkman · 2021-08-20 · in Building Container Images with Nix