19 lines
331 B
Nix
Raw Normal View History

2024-03-24 09:33:05 +01:00
{
pkgs,
lib,
localOutputs,
}:
pkgs.dockerTools.streamLayeredImage {
name = "oci-image";
includeStorePaths = false;
fakeRootCommands = ''
cp -Lr ${localOutputs.manifests}/* .
rm -fr nix
'';
# config.Entrypoint = ["${lib.getExe localOutputs.binaries.simple-package}"];
# contents = [
# pkgs.hello
# ];
}