Replace Dockerfile with Nix dockerTools.buildLayeredImage #1

Merged
graham merged 2 commits from nix-docker-image into main 2026-03-21 13:39:15 -05:00
Owner

The Docker build used Alpine's musl ldd to collect the Nix store
closure from glibc binaries, resulting in incomplete closures and
runtime failures. Replace with a Nix-native dockerTools.buildLayeredImage
that automatically captures the full closure.

  • Add packages.dockerImage to flake.nix using buildLayeredImage
  • Rewrite CI to use nix build + skopeo push instead of docker build
  • Delete k8s/Dockerfile and k8s/build.sh
The Docker build used Alpine's musl ldd to collect the Nix store closure from glibc binaries, resulting in incomplete closures and runtime failures. Replace with a Nix-native dockerTools.buildLayeredImage that automatically captures the full closure. - Add packages.dockerImage to flake.nix using buildLayeredImage - Rewrite CI to use nix build + skopeo push instead of docker build - Delete k8s/Dockerfile and k8s/build.sh
The Docker build used Alpine's musl ldd to collect the Nix store
closure from glibc binaries, resulting in incomplete closures and
runtime failures. Replace with a Nix-native dockerTools.buildLayeredImage
that automatically captures the full closure.

- Add packages.dockerImage to flake.nix using buildLayeredImage
- Rewrite CI to use nix build + skopeo push instead of docker build
- Delete k8s/Dockerfile and k8s/build.sh
graham merged commit ed541f0277 into main 2026-03-21 13:39:15 -05:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
graham/gridmap-haskell!1
No description provided.