docker-nixpkgs/overlay.nix
zimbatm 2aefa0599e
add meta attributes to all images
augment the images with meta attributes from the input packages.

and then use the meta.description as dockerhub metadata.
2019-02-17 12:10:00 +01:00

26 lines
722 B
Nix

_: pkgs: {
# lib stuff can be in the top-level
buildCLIImage = pkgs.callPackage ./lib/buildCLIImage.nix {};
# docker images must be lower-cased
docker-nixpkgs = rec {
bash = pkgs.callPackage ./bash {};
busybox = pkgs.callPackage ./busybox {};
curl = pkgs.callPackage ./curl {};
docker-compose = pkgs.callPackage ./docker-compose {
docker-compose =
# master
pkgs.docker-compose or
# 18.09
pkgs.python3Packages.docker_compose;
};
kubectl = pkgs.callPackage ./kubectl {};
kubernetes-helm = pkgs.callPackage ./kubernetes-helm {};
nix = pkgs.callPackage ./nix {};
nix-unstable = nix.override {
nix = pkgs.nixUnstable;
};
};
}