mirror of
https://github.com/nix-community/docker-nixpkgs.git
synced 2026-01-12 04:40:42 -05:00
abstract CLI image generation
and add busybox in all the images
This commit is contained in:
@@ -1,20 +1,7 @@
|
||||
{ dockerTools
|
||||
, cacert
|
||||
{ buildCLIImage
|
||||
, kubernetes-helm
|
||||
}:
|
||||
dockerTools.buildLayeredImage {
|
||||
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"
|
||||
];
|
||||
};
|
||||
buildCLIImage {
|
||||
drv = kubernetes-helm;
|
||||
binName = "helm";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user