Skip to content

Instantly share code, notes, and snippets.

@alanz
Created May 14, 2018 12:50
Show Gist options
  • Save alanz/7ea953bee127cda36104e36b59a8cf88 to your computer and use it in GitHub Desktop.
Save alanz/7ea953bee127cda36104e36b59a8cf88 to your computer and use it in GitHub Desktop.
docker-container-small = pkgs.dockerTools.buildImage {
name = "alanz/simple-container28";
fromImage = pkgs.dockerTools.pullImage {
imageName = "ubuntu";
imageDigest = "sha256:1dfb94f13f5c181756b2ed7f174825029aca902c78d0490590b1aaa203abc052";
sha256 = "08qsffa3g2a9m2apr8w4vrms3q0r5l745mbj94b1cgka6z7ds1i6";
};
contents =
[
haskellPackages.simple-minimal
];
config = {
Env = [ "PATH=${haskellPackages.simple-minimal}/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
];
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment