Building Container Images with Nix

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • wagdav

  • Looks like he renamed (or recreated) the repository:

    https://github.com/wagdav/wagdav.github.com/blob/main/flake....

  • I used this exact idea to do not just containers but cross compiled containers with cached artifacts using cachix, https://github.com/openenergysolutions/openfmb.adapter for a sizeable example perhaps

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • bazel-nix-example

  • 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

  • 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.

  • If you want to take nixos for a spin in your browser head to https://github.com/gitpod-io/template-nixos and mash the button.

    Also https://nix.dev is one of the better learning resources. Over at https://GitHub.com/ghuntley/ghuntley you'll find a workshop I created on Nix.

  • nix-prefetch-github

    Prefetch sources from github for nix build tool

  • If your dependency is on GitHub, this tool makes it super easy. https://github.com/seppeljordan/nix-prefetch-github

  • nixpkgs

    Nix Packages collection & NixOS

  • Here's the gitlab-runner configuration I mentioned in the post (can't edit anymore)[1]. With this you benefit of local caching that nix does. What this means is that if you have a branch and it compiled, and run test. Then as you merge and no source files changed (which happens most of the time), the build on master is instant.

    [1] https://github.com/NixOS/nixpkgs/blob/ce38fecabe49a76fcd08d0...

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts