nix docker
We can generate
Dockerfile
with
Nix
Using Nix with Dockerfiles – Mitchell Hashimoto