Skip to content

Instantly share code, notes, and snippets.

@philandstuff
Last active January 10, 2016 22:12
Show Gist options
  • Save philandstuff/f3dfc487241d7679dd0d to your computer and use it in GitHub Desktop.
Save philandstuff/f3dfc487241d7679dd0d to your computer and use it in GitHub Desktop.
building docker images from nix packages
nix-build -E '<nix-expr>'
with import ./. {};
dockerTools.buildImage {
name = "xjson";
contents = pkgs.certificate-transparency;
config = {
Entrypoint = ["${pkgs.certificate-transparency}/bin/xjson-server"];
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment