Created
February 26, 2019 05:28
-
-
Save kayceesrk/bb68a91bbe1a22a001ac9b7000e14832 to your computer and use it in GitHub Desktop.
Dockerfile for installing irmin-unix
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 ocaml/opam2 | |
RUN sudo apt update | |
RUN sudo apt install -y m4 perl libgmp-dev pkg-config | |
RUN opam remote add upstream https://opam.ocaml.org && \ | |
opam update && opam upgrade | |
RUN git clone https://github.com/mirage/irmin | |
WORKDIR irmin | |
RUN opam pin add -k git -n irmin . && \ | |
opam pin add -k git -n irmin-unix . && \ | |
opam pin add -k git -n irmin-fs . && \ | |
opam pin add -k git -n irmin-mem . && \ | |
opam pin add -k git -n irmin-http . && \ | |
opam pin add -k git -n irmin-git . && \ | |
opam pin add -k git -n irmin-graphql . | |
RUN opam install irmin-unix |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment