ligo/scripts/Dockerfile.build_deps.in

11 lines
377 B
Docker
Raw Normal View History

2017-08-04 20:32:52 +04:00
FROM $base_image
COPY scripts/install_build_deps.sh scripts/version.sh tezos/scripts/
2017-11-27 09:13:12 +04:00
COPY tezos-deps.opam tezos/
2017-08-10 12:05:44 +04:00
RUN sudo apk update && \
opam config exec -- ./tezos/scripts/install_build_deps.sh && \
opam install ocp-indent && \
2017-08-10 12:05:44 +04:00
sudo rm -f /var/cache/apk/* && \
rm -fr ~/.opam/log/ && \
rm -fr "$(opam config exec -- ocamlfind query stdlib)"/topdirs.cmi