libp2p-test-plans/hole-punch-interop/rust-relay/Makefile

11 lines
290 B
Makefile
Raw Normal View History

image_name := hole-punch-test-rust-relay
all: image.json
image.json: Cargo.lock src/** Dockerfile
IMAGE_NAME=${image_name} ../dockerBuildWrapper.sh -f Dockerfile .
docker image inspect ${image_name} -f "{{.Id}}" | \
xargs -I {} echo "{\"imageID\": \"{}\"}" > $@
clean:
rm image.json