Conversation
|
It's been a full year, but I wonder if we could use Nix for this? Tried building a simple image with it, and it resulted in a 298M tarball? |
|
Nix is great for reproducible builds, but Docker and Nix serve different purposes and work well together. Docker provides a reproducible runtime environment for deployment, while Nix ensures your builds are deterministic. Using Nix to build your application and Docker to package it gives you the strengths of both: reliable builds and consistent deployment across machines. Even if a Nix-built image is larger, Docker’s portability and isolation make it the right tool for shipping and running applications. |
|
you can already build docker image with nix |
|
There's also work in progress to publish the nix-built OCI containers to ghcr, but that's not my area of expertise so i'll defer :) |
Adds container image and accompanying GitHub Workflow to build the image and deploy to GitHub's own registry.