zebra/docker/Dockerfile.test

22 lines
398 B
Docker

FROM rust:buster
RUN apt-get update && \
apt-get install -y --no-install-recommends \
make cmake g++ gcc llvm libclang-dev clang
RUN mkdir /zebra
WORKDIR /zebra
ENV RUST_BACKTRACE full
ENV CARGO_HOME /zebra/.cargo/
RUN rustc -V; cargo -V; rustup -V
EXPOSE 8233 18233
COPY . .
RUN cargo test --all --no-run
CMD cargo test --workspace --no-fail-fast -- -Zunstable-options --include-ignored