12 lines
298 B
Nix
12 lines
298 B
Nix
{ sources ? import ./nix/sources.nix, pkgs ? import sources.nixpkgs { } }:
|
|
|
|
with pkgs;
|
|
|
|
let locigenesis = pkgs.callPackage ./default.nix { };
|
|
|
|
in dockerTools.buildImage {
|
|
name = "akasroua/locigenesis";
|
|
contents = [ locigenesis ];
|
|
config.Entrypoint = [ "${locigenesis}/bin/generation.sh" ];
|
|
}
|