mirror of
https://github.com/matter-labs/vault-auth-tee.git
synced 2025-07-22 07:54:47 +02:00
chore: use snowfall lib for nix flake
Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
This commit is contained in:
parent
1cd15d46d0
commit
a43f83d834
6 changed files with 165 additions and 64 deletions
25
packages/container-vault-auth-tee/default.nix
Normal file
25
packages/container-vault-auth-tee/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ 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
|
||||
vault
|
||||
usrBinEnv
|
||||
binSh
|
||||
caCertificates
|
||||
fakeNss
|
||||
];
|
||||
pathsToLink = [ "/bin" "/etc" ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue