Skip to content

Commit

Permalink
update Makefile, copy from parent target dir
Browse files Browse the repository at this point in the history
instead of changing it as then we need to change the caching dir, and
add it to the dockerignore because of context.
  • Loading branch information
jxs committed Jan 19, 2023
1 parent ac2162c commit d640f91
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test-plans/Makefile
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit d640f91

Please sign in to comment.