20 lines
367 B
Docker
20 lines
367 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 . .
|
|
|
|
CMD cargo test --workspace --no-fail-fast -- -Zunstable-options --include-ignored
|