mirror of
https://github.com/nix-community/docker-nixpkgs.git
synced 2026-01-11 20:30:37 -05:00
add kubectl and helm
This commit is contained in:
20
kubernetes-helm/default.nix
Normal file
20
kubernetes-helm/default.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{ dockerTools
|
||||
, cacert
|
||||
, kubernetes-helm
|
||||
}:
|
||||
dockerTools.buildImage {
|
||||
inherit (kubernetes-helm) name;
|
||||
|
||||
contents = [
|
||||
cacert
|
||||
kubernetes-helm
|
||||
];
|
||||
|
||||
config = {
|
||||
Entrypoint = [ "/bin/helm" ];
|
||||
Env = [
|
||||
"PATH=/bin"
|
||||
"SSL_CERT_FILE=${cacert}/etc/ssl/certs/ca-bundle.crt"
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user