This commit is contained in:
zimbatm 2019-02-13 20:49:22 +01:00
parent e97a236529
commit 7f8aa1fa25
No known key found for this signature in database
GPG key ID: 71BAF6D40C1D63D7
3 changed files with 8 additions and 0 deletions

View file

@ -33,6 +33,7 @@ $ docker run -ti --rm nixpkgs/curl http://ifconfig.co
| Image | Description |
| --- | --- |
| bash | CLI only |
| curl | CLI only |
| docker-compose | CLI only |
| kubectl | CLI only |

6
bash/default.nix Normal file
View file

@ -0,0 +1,6 @@
{ buildCLIImage
, bash
}:
buildCLIImage {
drv = bash;
}

View file

@ -5,6 +5,7 @@ _: pkgs: {
# docker images must be lower-cased
docker-nixpkgs = rec {
bash = pkgs.callPackage ./bash {};
curl = pkgs.callPackage ./curl {};
docker-compose = pkgs.callPackage ./docker-compose {
docker-compose =