zebra/docker/Dockerfile.test

20 lines
364 B
Docker
Raw Normal View History

2020-11-20 13:02:45 -08:00
FROM rust:buster
RUN apt-get update && \
apt-get install -y --no-install-recommends \
2020-11-19 13:03:15 -08:00
make cmake g++ gcc llvm libclang-dev clang
RUN mkdir /zebra
WORKDIR /zebra
ENV RUST_BACKTRACE 1
ENV CARGO_HOME /zebra/.cargo/
RUN rustc -V; cargo -V; rustup -V
EXPOSE 8233 18233
COPY . .
2020-11-20 13:02:45 -08:00
CMD cargo test --workspace --no-fail-fast -- -Zunstable-options --include-ignored