ligo/scripts/Dockerfile.build_deps.in

18 lines
587 B
Docker
Raw Normal View History

2017-08-04 20:32:52 +04:00
FROM $base_image
2017-12-05 18:15:36 +04:00
## /!\ /!\ /!\ /!\/!\ /!\ /!\
## /!\ Don't forget fu update the variables 'dependencies' in
## /!\ `create_docker_image.build_deps.sh` when modifyiing the
## /!\ 'COPY'edfiles.
## /!\ /!\ /!\ /!\/!\ /!\ /!\
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-12-05 18:15:36 +04:00
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