Graham Christensen a32d7e0c74 dockerTools.buildImage: support impure dates
Because dates are an impurity, by default buildImage will use a static
date of one second past the UNIX Epoch. This can be a bit frustrating
when listing docker images in the CLI:

    $ docker image list
    REPOSITORY   TAG      IMAGE ID       CREATED        SIZE
    hello        latest   08c791c7846e   48 years ago   25.2MB

If you want to trade the purity for a better user experience, you can
set created to now.

    pkgs.dockerTools.buildImage {
      name = "hello";
      tag = "latest";
      created = "now";
      contents = pkgs.hello;

      config.Cmd = [ "/bin/hello" ];
    }

and now the Docker CLI will display a reasonable date and sort the
images as expected:

    $ docker image list
    REPOSITORY   TAG      IMAGE ID       CREATED              SIZE
    hello        latest   de2bf4786de6   About a minute ago   25.2MB
2018-09-20 18:26:02 +02:00
..
2018-03-26 21:44:24 -04:00
2018-05-31 21:03:37 -04:00
2018-05-01 19:54:21 -04:00
2018-05-01 19:54:21 -04:00
2018-05-31 21:03:37 -04:00
2018-05-01 19:54:21 -04:00
2018-08-27 19:54:41 -04:00
2018-03-25 19:52:07 -04:00
2018-04-05 07:54:01 -04:00
2018-09-01 15:06:38 -04:00