Build Docker image from Nix (#1522)

* Static docker image

* added tags for latest and with version

* add postgrest repository to docker image name

* set creation date on nix docker images
This commit is contained in:
Remo Rechkemmer
2020-05-16 11:35:32 -05:00
committed by GitHub
parent 7c0fbf9b3f
commit bfcd289855
3 changed files with 86 additions and 0 deletions
+4
View File
@@ -81,6 +81,10 @@ rec {
postgrestStatic =
lib.justStaticExecutables (lib.dontCheck drvStatic);
# Docker image and loading script.
docker =
pkgs.callPackage nix/docker { postgrest = postgrestStatic; };
# Environment in which PostgREST can be built with cabal, useful e.g. for
# defining a shell for nix-shell.
env =