mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-07-31 00:41:59 +00:00
We only retain it for the test job which runs `cargo semver-checks` which may need to build the rustdoc for the baseline version which still requires `protoc` to be installed until we make the next round of releases. Pull-Request: #3592.
16 lines
416 B
Docker
16 lines
416 B
Docker
# syntax=docker/dockerfile:1.5-labs
|
|
FROM rust:1.67.0
|
|
|
|
# Run with access to the target cache to speed up builds
|
|
WORKDIR /workspace
|
|
ADD . .
|
|
RUN --mount=type=cache,target=./target \
|
|
--mount=type=cache,target=/usr/local/cargo/registry \
|
|
cargo build --package interop-tests
|
|
|
|
RUN --mount=type=cache,target=./target \
|
|
mv ./target/debug/ping /usr/local/bin/testplan
|
|
|
|
ENV RUST_BACKTRACE=1
|
|
ENTRYPOINT ["testplan"]
|