vault-auth-tee/packages/container-vault-auth-tee/default.nix
Harald Hoyer 6fb44c0183
chore: add nix subpackage with shasum of plugin
Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-02-22 09:57:39 +01:00

26 lines
430 B
Nix

{ pkgs
, vat
, vault
, ...
}:
pkgs.dockerTools.buildLayeredImage {
name = "vault-auth-tee";
tag = "test";
config.Entrypoint = [ "/bin/sh" ];
contents = pkgs.buildEnv {
name = "image-root";
paths = with pkgs.dockerTools; [
vat.vault-auth-tee
vat.vault-auth-tee.sha
vault
usrBinEnv
binSh
caCertificates
fakeNss
];
pathsToLink = [ "/bin" "/etc" "/share" ];
};
}