Skip to content

Instantly share code, notes, and snippets.

@lilyannehall
Created January 27, 2020 19:27
Show Gist options
  • Save lilyannehall/86ff129eca9aaa2a7c24e5d60fb5002d to your computer and use it in GitHub Desktop.
Save lilyannehall/86ff129eca9aaa2a7c24e5d60fb5002d to your computer and use it in GitHub Desktop.
dapptools dockerfile
FROM nixos/nix
RUN nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs
RUN nix-channel --update
RUN nix-build -A pythonFull '<nixpkgs>'
RUN nix-env -iA nixpkgs.gitAndTools.gitFull
RUN nix-env -iA nixpkgs.zsh
RUN nix-env -iA cachix -f https://cachix.org/api/v1/install
RUN cachix use dapp
RUN git clone --recursive https://github.com/dapphub/dapptools $HOME/.dapp/dapptools
RUN nix-env -f $HOME/.dapp/dapptools -iA dapp solc
ENTRYPOINT ["zsh"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment