2017-08-04 20:32:52 +04:00
|
|
|
FROM $base_image
|
2017-01-22 04:59:18 +04:00
|
|
|
|
|
|
|
COPY scripts/install_build_deps.sh scripts/version.sh scripts/
|
|
|
|
COPY src/tezos-deps.opam src/
|
2017-08-10 12:05:44 +04:00
|
|
|
RUN sudo apk update && \
|
|
|
|
opam config exec -- ./scripts/install_build_deps.sh all && \
|
|
|
|
sudo rm -f /var/cache/apk/* && \
|
|
|
|
rm -fr ~/.opam/log/ && \
|
|
|
|
rm -fr "$(opam config exec -- ocamlfind query stdlib)"/topdirs.cmi
|