Add go-libp2p v0.26 (#151)
This commit is contained in:
parent
019118710a
commit
54d19f56a4
|
@ -1,4 +1,4 @@
|
||||||
go-libp2p-*.zip
|
go-libp2p-*.zip
|
||||||
go-libp2p-*
|
go-libp2p-*
|
||||||
go-libp2p-*/*
|
go-libp2p-*/*
|
||||||
image.json
|
image.json
|
|
@ -0,0 +1,20 @@
|
||||||
|
image_name := go-v0.26
|
||||||
|
commitSha := 59a14cf3194d5d057c45cb1dbc7b1af3a116bc7a
|
||||||
|
|
||||||
|
all: image.json
|
||||||
|
|
||||||
|
image.json: go-libp2p-${commitSha}
|
||||||
|
cd go-libp2p-${commitSha} && IMAGE_NAME=${image_name} ../../../dockerBuildWrapper.sh -f test-plans/PingDockerfile .
|
||||||
|
docker image inspect ${image_name} -f "{{.Id}}" | \
|
||||||
|
xargs -I {} echo "{\"imageID\": \"{}\"}" > $@
|
||||||
|
|
||||||
|
go-libp2p-${commitSha}: go-libp2p-${commitSha}.zip
|
||||||
|
unzip -o go-libp2p-${commitSha}.zip
|
||||||
|
|
||||||
|
go-libp2p-${commitSha}.zip:
|
||||||
|
wget -O $@ "https://github.com/libp2p/go-libp2p/archive/${commitSha}.zip"
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm image.json
|
||||||
|
rm go-libp2p-*.zip
|
||||||
|
rm -rf go-libp2p-*
|
Loading…
Reference in New Issue