ligo/scripts/Dockerfile.build.in
2017-08-16 10:52:36 +02:00

10 lines
299 B
Docker

FROM $base_image
COPY src /home/opam/tezos/src
COPY test /home/opam/tezos/test
RUN sudo chown -R opam /home/opam/tezos && \
echo "PRODUCTION=yes" > /home/opam/tezos/src/Makefile.local && \
opam config exec -- make -C tezos/src -j4 && \
opam config exec -- make -C tezos/test -j4 build