No description
Find a file
2019-02-13 20:49:22 +01:00
bash add bash 2019-02-13 20:49:22 +01:00
curl abstract CLI image generation 2019-02-08 21:15:41 +01:00
docker-compose abstract CLI image generation 2019-02-08 21:15:41 +01:00
kubectl abstract CLI image generation 2019-02-08 21:15:41 +01:00
kubernetes-helm abstract CLI image generation 2019-02-08 21:15:41 +01:00
lib abstract CLI image generation 2019-02-08 21:15:41 +01:00
nix nix: add nsswitch.conf 2019-02-07 15:14:49 +01:00
.gitignore hi 2019-01-19 15:13:30 +01:00
.gitlab-ci.sh update DockerHub info 2019-02-13 19:18:57 +01:00
.gitlab-ci.yml prepare for multi-CI 2019-02-06 11:57:24 +01:00
.travis.sh update DockerHub info 2019-02-13 19:18:57 +01:00
.travis.yml add Travis CI 2019-02-06 11:59:52 +01:00
build prepare for multi-CI 2019-02-06 11:57:24 +01:00
default.nix set system to x86_64-linux 2019-01-19 22:43:33 +01:00
docker-login update DockerHub info 2019-02-13 19:18:57 +01:00
LICENSE hi 2019-01-19 15:13:30 +01:00
overlay.nix add bash 2019-02-13 20:49:22 +01:00
push-all update DockerHub info 2019-02-13 19:18:57 +01:00
README.md add bash 2019-02-13 20:49:22 +01:00
release.nix hi 2019-01-19 15:13:30 +01:00
shell.nix fixup! add Travis CI 2019-02-06 12:29:42 +01:00
update-dockerhub update DockerHub info 2019-02-13 19:18:57 +01:00

docker-nixpkgs: docker images from nixpkgs

This project is a collection of docker images automatically produced with Nix and the latest nixpkgs package set. All the images are refreshed daily with the latest versions of nixpkgs.

It's also a good demonstration on how to build and publish Docker images with Nix.

Always keep your docker images fresh!

Why use Nix to build docker images?

Nix has a number of advantages over Dockerfile when producing docker images:

  • builds are actually reproducible
  • Nix will only rebuild the minimum set of changes
  • Nix can produce automatic optimised layers for you
  • nixpkgs provides automatic security updates

Example usage

Here is an example of using one of the docker images. Usage will change from image to image.

# run the curl image which has curl as an entry-point
$ docker run -ti --rm nixpkgs/curl http://ifconfig.co
180.52.248.114

List of images

Image Description
bash CLI only
curl CLI only
docker-compose CLI only
kubectl CLI only
kubernetes-helm CLI only
nix nix with deps
nix-unstable nixUnstable with deps

Channels

Name Description
nixos-unstable the :latest version
nixos-18.09 automatic security updates

License

Copyright (c) 2019 zimbatm and contributors.

Licensed under the MIT.