From d640f9182f72183e33338f458af23723cc21f7bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Oliveira?= Date: Thu, 19 Jan 2023 15:40:29 +0000 Subject: [PATCH] update Makefile, copy from parent target dir instead of changing it as then we need to change the caching dir, and add it to the dockerignore because of context. --- test-plans/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test-plans/Makefile b/test-plans/Makefile index aea43948639..ee8713e0bcc 100644 --- a/test-plans/Makefile +++ b/test-plans/Makefile @@ -1,7 +1,9 @@ all: ping-image.tar ping-image.tar: Dockerfile Cargo.toml $(wildcard src/*) - CARGO_TARGET_DIR=./target cargo build --release -p interop-tests + cargo build --release -p interop-tests + mkdir -p target/release/ + cp ../target/release/ping target/release docker build -t rust-libp2p-head . docker image save -o $@ rust-libp2p-head