vault-auth-tee/packages/container-vault-auth-tee.nix
Harald Hoyer 3c72d34e02
chore(deps): update nixsgx dependency
Get rid of the snowfall lib, because it makes life harder
for this very small project.

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-06-07 16:56:11 +02: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" ];
};
}