Skip to content

Instantly share code, notes, and snippets.

@philandstuff
Last active December 14, 2015 11:05
Show Gist options
  • Save philandstuff/5bc09d6dba7031f0c6f4 to your computer and use it in GitHub Desktop.
Save philandstuff/5bc09d6dba7031f0c6f4 to your computer and use it in GitHub Desktop.
Deploying certificate-transparency to a docker container using nix

Deploying certificate-transparency to a docker container using nix

On the nixos/nix docker container

Fisrt, download and run the nixos/nix image:

docker run -ti nixos/nix /bin/sh

Subscribe to the nixos channel (eventually, certificate-transparency will be available on the nixpkgs channel too but as of 2015-12-14 it's not):

nix-channel --add https://nixos.org/channels/nixos-unstable nixos

Download the latest channel metadata:

nix-channel --update

Install the package:

nix-env -iA nixos.certificate-transparency

On the official ubuntu image:

You'll need to do the following:

  • run the ubuntu image
  • install nix (they have a curlsudobash installer)
  • continue as above
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment