Last active
January 10, 2016 22:12
-
-
Save philandstuff/f3dfc487241d7679dd0d to your computer and use it in GitHub Desktop.
building docker images from nix packages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nix-build -E '<nix-expr>' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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