Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions transport-interop/impl/haskell/v0.1/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
libp2p-hs-*
*.zip
image.json
25 changes: 25 additions & 0 deletions transport-interop/impl/haskell/v0.1/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
image_name := haskell-v0.1
commitSha := 574acdc43f824090f8d397e4e36ea8a5d2fb8317

all: image.json

# Build the image from libp2p-hs's own root Dockerfile, which compiles the
# libp2p-interop daemon. dockerBuildWrapper.sh runs:
# docker buildx build --load -t $(image_name) .
image.json: libp2p-hs-${commitSha}
cd libp2p-hs-${commitSha} && IMAGE_NAME=${image_name} ../../../../dockerBuildWrapper.sh .
docker image inspect ${image_name} -f "{{.Id}}" | \
xargs -I {} echo "{\"imageID\": \"{}\"}" > $@

libp2p-hs-${commitSha}: libp2p-hs-${commitSha}.zip
unzip -o libp2p-hs-${commitSha}.zip

libp2p-hs-${commitSha}.zip:
wget -O $@ "https://github.com/adust09/libp2p-hs/archive/${commitSha}.zip"

.PHONY: clean all

clean:
rm -f image.json
rm -f libp2p-hs-*.zip
rm -rf libp2p-hs-*
12 changes: 12 additions & 0 deletions transport-interop/versionsInput.json
Original file line number Diff line number Diff line change
Expand Up @@ -469,5 +469,17 @@
],
"secureChannels": [],
"muxers": []
},
{
"id": "haskell-v0.1",
"transports": [
"tcp"
],
"secureChannels": [
"noise"
],
"muxers": [
"yamux"
]
}
]
Loading