From 48920ed5a4f0ef67c2da1a9079eac9723ce30121 Mon Sep 17 00:00:00 2001 From: Marco Munizaga Date: Tue, 4 Apr 2023 19:47:37 +0000 Subject: [PATCH] Fix typo --- multidim-interop/rust/v0.49/Makefile | 4 ++-- multidim-interop/rust/v0.50/Makefile | 2 +- multidim-interop/rust/v0.51/Makefile | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/multidim-interop/rust/v0.49/Makefile b/multidim-interop/rust/v0.49/Makefile index e6d5f5e71..4033dc173 100644 --- a/multidim-interop/rust/v0.49/Makefile +++ b/multidim-interop/rust/v0.49/Makefile @@ -14,8 +14,8 @@ image.json: docker image inspect ${imageName} -f "{{.Id}}" | \ xargs -I {} echo "{\"imageID\": \"{}\"}" > $@ else -image.json: main.nim nim-libp2p Dockerfile - docker build -t ${imageName} . +image.json: rust-libp2p-${commitSha} + cd rust-libp2p-${commitSha} && docker build -f interop-tests/Dockerfile -t ${imageName} . docker image inspect ${imageName} -f "{{.Id}}" | \ xargs -I {} echo "{\"imageID\": \"{}\"}" > $@ # If we're in CI, save the cache diff --git a/multidim-interop/rust/v0.50/Makefile b/multidim-interop/rust/v0.50/Makefile index 9b7c8c185..2ff8d2f86 100644 --- a/multidim-interop/rust/v0.50/Makefile +++ b/multidim-interop/rust/v0.50/Makefile @@ -15,7 +15,7 @@ image.json: xargs -I {} echo "{\"imageID\": \"{}\"}" > $@ else image.json: rust-libp2p-${commitSha} - cd rust-libp2p-${commitSha} && docker build -t ${imageName} -f interop-tests/Dockerfile . + cd rust-libp2p-${commitSha} && docker build -f interop-tests/Dockerfile -t ${imageName} . docker image inspect ${imageName} -f "{{.Id}}" | \ xargs -I {} echo "{\"imageID\": \"{}\"}" > $@ # If we're in CI, save the cache diff --git a/multidim-interop/rust/v0.51/Makefile b/multidim-interop/rust/v0.51/Makefile index b2ae15ddc..d03277d61 100644 --- a/multidim-interop/rust/v0.51/Makefile +++ b/multidim-interop/rust/v0.51/Makefile @@ -15,7 +15,7 @@ image.json: xargs -I {} echo "{\"imageID\": \"{}\"}" > $@ else image.json: rust-libp2p-${commitSha} - cd rust-libp2p-${commitSha} && docker build -t ${imageName} -f interop-tests/Dockerfile . + cd rust-libp2p-${commitSha} && docker build -f interop-tests/Dockerfile -t ${imageName} . docker image inspect ${imageName} -f "{{.Id}}" | \ xargs -I {} echo "{\"imageID\": \"{}\"}" > $@ # If we're in CI, save the cache