Skip to content
Snippets Groups Projects
Commit bc11fb2c authored by pini's avatar pini Committed by Hugo Trentesaux
Browse files

build: add distance-oracle to the docker image (!203)

* build: add distance-oracle to the docker image
parent cca4eb30
No related branches found
No related tags found
1 merge request!203build: add distance-oracle to the docker image
Pipeline #34481 passed
......@@ -54,8 +54,10 @@ RUN set -x && \
cat /root/dynenv && \
. /root/dynenv && \
cargo build --locked $CARGO_OPTIONS --no-default-features $BENCH_OPTIONS --features $chain --target "$RUST_ARCH_TRIPLET" && \
cargo build --locked $CARGO_OPTIONS --target "$RUST_ARCH_TRIPLET" --package distance-oracle && \
mkdir -p build && \
mv target/$RUST_ARCH_TRIPLET/$TARGET_FOLDER/duniter build/
mv target/$RUST_ARCH_TRIPLET/$TARGET_FOLDER/duniter build/ && \
mv target/$RUST_ARCH_TRIPLET/$TARGET_FOLDER/distance-oracle build/
# Run tests if requested, expted when cross-building
ARG cucumber=0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment