Adding an extend example (helm+oci)
This commit is contained in:
18
poc-helm-oci/packages/oci-image/default.nix
Normal file
18
poc-helm-oci/packages/oci-image/default.nix
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
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
|
||||
# ];
|
||||
}
|
Reference in New Issue
Block a user