diff --git a/Dockerfile b/Dockerfile index 74181e6637ab17b261dbe5c9526d64420e76b219..6e508a2b2992a05a964e32cff276a59a773d61e4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ RUN rustup component add clippy # Add libraries needed to compile dunitrust RUN apt-get update && \ - apt-get install -y --no-install-recommends git nano pkg-config libssl-dev && \ + apt-get install -y --no-install-recommends cmake git nano pkg-config libssl-dev zlib1g-dev && \ apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* # Create a user @@ -18,5 +18,11 @@ RUN useradd -ms /bin/bash user USER user WORKDIR /home/user +# Install coverage tool +RUN cargo install cargo-tarpaulin + # Clone Dunitrust repository RUN git clone --depth 50 -- https://git.duniter.org/nodes/rust/duniter-rs.git dunitrust + +# Add useful aliases +RUN add_useful_aliases.sh