ligo/scripts/Dockerfile.build_deps.in

14 lines
514 B
Docker
Raw Normal View History

2017-08-04 20:32:52 +04:00
FROM $base_image
COPY scripts/install_build_deps.sh scripts/version.sh scripts/
COPY src/tezos-deps.opam src/
2017-08-04 20:32:52 +04:00
COPY Dockerfile Dockerfile
2017-05-31 20:27:11 +04:00
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/ \
2017-08-04 20:32:52 +04:00
"$(opam config exec -- ocamlfind query compiler-libs)"/../topdirs.cmi