Created
January 27, 2020 19:27
-
-
Save lilyannehall/86ff129eca9aaa2a7c24e5d60fb5002d to your computer and use it in GitHub Desktop.
dapptools dockerfile
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
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