Docker: quick fix for wrong upstream alpine docker.

This commit is contained in:
Benjamin Canou 2017-06-01 17:55:53 +02:00
parent 90f87bec4a
commit 591f11a808

View File

@ -3,6 +3,7 @@ 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 && \
opam switch $ocaml_version && \
opam config exec -- ./scripts/install_build_deps.sh all \
rm -fr ~/.opam/log/ \
"$(opam config exec -- ocamlfind query stdlib)"/topdirs.cmi