2017-08-04 20:32:52 +04:00
|
|
|
FROM $base_image
|
2017-01-22 04:59:18 +04:00
|
|
|
|
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.
|
|
|
|
## /!\ /!\ /!\ /!\/!\ /!\ /!\
|
|
|
|
|
2017-10-27 22:45:31 +04:00
|
|
|
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 && \
|
2017-10-27 22:45:31 +04:00
|
|
|
opam config exec -- ./tezos/scripts/install_build_deps.sh && \
|
2017-11-14 07:57:06 +04:00
|
|
|
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
|