rust backend, example nix container building
This commit is contained in:
11
container-config.nix
Normal file
11
container-config.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{ pkgs ? import <nixpkgs> { }
|
||||
, pkgsLinux ? import <nixpkgs> { system = "x86_64-linux"; }
|
||||
}:
|
||||
|
||||
|
||||
pkgs.dockerTools.buildImage {
|
||||
name = "site";
|
||||
config = {
|
||||
Cmd = [ "${pkgsLinux.hello}/bin/hello" ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user