ligo/scripts/Dockerfile.build_deps.in
Grégoire Henry eed9e7581d Update CI
2017-08-04 18:32:52 +02:00

14 lines
514 B
Docker

FROM $base_image
COPY scripts/install_build_deps.sh scripts/version.sh scripts/
COPY src/tezos-deps.opam src/
COPY Dockerfile Dockerfile
RUN sudo apk add libsodium-dev snappy-dev && \
sudo apk add leveldb-dev \
--update-cache \
--repository http://nl.alpinelinux.org/alpine/edge/testing && \
opam switch $ocaml_version && \
opam config exec -- ./scripts/install_build_deps.sh all \
rm -fr ~/.opam/log/ \
"$(opam config exec -- ocamlfind query compiler-libs)"/../topdirs.cmi