485d8bc26a
This is a dirty and non-optimized backend, it is still faster than the current git backend. Main drawbacks: - the leveldb binding is non-coopertive, the node will block while committing a block to the disk ; - the leveldb use 'string' while internally we use 'cstruct', this implies a lot of time-consuming 'memcpy'.
13 lines
294 B
Docker
13 lines
294 B
Docker
FROM $base_image
|
|
|
|
COPY src tezos/src
|
|
COPY test tezos/test
|
|
COPY scripts tezos/scripts
|
|
COPY vendors tezos/vendors
|
|
COPY Makefile jbuild .ocp-indent tezos/
|
|
|
|
RUN sudo chown -R opam /home/opam/tezos && \
|
|
cd tezos && \
|
|
opam config exec -- make all && \
|
|
opam config exec -- make build-test
|