refraction/nix/containerize.nix
seth 0b6be71c48 build(nix): drop rust-overlay
nixpkgs works well enough and gives us a good buffer in dealing with
compiler regressions
2024-11-12 08:27:23 +01:00

9 lines
253 B
Nix

{ lib, dockerTools }:
refraction:
dockerTools.buildLayeredImage {
name = "refraction";
tag = "latest-${refraction.passthru.dockerArchitecture}";
config.Cmd = [ (lib.getExe refraction) ];
architecture = refraction.passthru.dockerArchitecture;
}