secp256k1-zkp/ci/linux-nixos.Dockerfile

13 lines
368 B
Docker
Raw Normal View History

2020-12-22 16:42:08 +01:00
FROM nixos/nix
COPY ci/shell.nix /tmp
COPY ci/shell-i686.nix /tmp
RUN nix-channel --remove nixpkgs
RUN nix-channel --add https://nixos.org/channels/nixos-20.09 nixpkgs
RUN nix-channel --update
# Run dummy command "true" in the nix-shell just to get the packages prepared.
RUN nix-shell /tmp/shell.nix --command true
RUN nix-shell /tmp/shell-i686.nix --command true