Skip to content

Instantly share code, notes, and snippets.

@kayceesrk
Created February 26, 2019 05:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kayceesrk/bb68a91bbe1a22a001ac9b7000e14832 to your computer and use it in GitHub Desktop.
Save kayceesrk/bb68a91bbe1a22a001ac9b7000e14832 to your computer and use it in GitHub Desktop.
Dockerfile for installing irmin-unix
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