2017-01-22 04:59:18 +04:00
|
|
|
FROM ocaml/opam:alpine-$alpine_version_ocaml-$ocaml_version
|
|
|
|
|
|
|
|
COPY scripts/install_build_deps.sh scripts/version.sh scripts/
|
|
|
|
COPY src/tezos-deps.opam src/
|
|
|
|
RUN sudo apk add libsodium-dev && \
|
2017-06-01 19:55:53 +04:00
|
|
|
opam switch $ocaml_version && \
|
2017-01-22 04:59:18 +04:00
|
|
|
opam config exec -- ./scripts/install_build_deps.sh all \
|
|
|
|
rm -fr ~/.opam/log/ \
|
|
|
|
"$(opam config exec -- ocamlfind query stdlib)"/topdirs.cmi
|