nixpkgs works well enough and gives us a good buffer in dealing with compiler regressions
9 lines
253 B
Nix
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;
|
|
}
|