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