de5935228f
All dependencies are now inlined in the various opam packages.
17 lines
502 B
Docker
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
|