ligo/scripts/Dockerfile.build_deps.in
Grégoire Henry de5935228f Opam: remove tezos-deps.opam
All dependencies are now inlined in the various opam packages.
2017-12-08 02:50:03 +01:00

17 lines
502 B
Docker

FROM $base_image
## /!\ /!\ /!\ /!\/!\ /!\ /!\
## /!\ Don't forget fu update the variables 'dependencies' in
## /!\ `create_docker_image.build_deps.sh` when modifyiing the
## /!\ 'COPY'edfiles.
## /!\ /!\ /!\ /!\/!\ /!\ /!\
$copy_files
RUN sudo apk update && \
opam config exec -- ./tezos/scripts/install_build_deps.sh && \
opam install ocp-indent && \
sudo rm -f /var/cache/apk/* && \
rm -fr ~/.opam/log/ && \
rm -fr "$(opam config exec -- ocamlfind query stdlib)"/topdirs.cmi