Skip to content
Snippets Groups Projects
Commit 3e3d5d59 authored by Gilles Filippini's avatar Gilles Filippini
Browse files

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 #34467 passed
This commit is part of merge request !203. Comments created here will be created in the context of that merge request.
...@@ -54,8 +54,10 @@ RUN set -x && \ ...@@ -54,8 +54,10 @@ RUN set -x && \
cat /root/dynenv && \ cat /root/dynenv && \
. /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 --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 && \ 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 # Run tests if requested, expted when cross-building
ARG cucumber=0 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