Created
May 14, 2018 11:37
-
-
Save alanz/aa12c1a84f35084e97517b2862ab2c42 to your computer and use it in GitHub Desktop.
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
config = rec { | |
packageOverrides = pkgs: rec { | |
docker-container-large = pkgs.dockerTools.buildImage { | |
name = "alanz/simple-container"; | |
config.Cmd = [ "${haskellPackages.simple}/bin/simple" ]; | |
}; | |
docker-container-small = pkgs.dockerTools.buildImage { | |
name = "alanz/simple-container24"; | |
fromImage = pkgs.dockerTools.pullImage { | |
imageName = "ubuntu"; | |
imageDigest = "sha256:1dfb94f13f5c181756b2ed7f174825029aca902c78d0490590b1aaa203abc052"; | |
sha256 = "08qsffa3g2a9m2apr8w4vrms3q0r5l745mbj94b1cgka6z7ds1i6"; | |
}; | |
contents = | |
[ | |
# pkgs.bash | |
haskellPackages.simple-minimal | |
]; | |
config.Cmd = [ "${haskellPackages.simple-minimal}/bin/simple" ]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment