mirror of
https://github.com/status-im/libp2p-test-plans.git
synced 2025-03-01 15:00:40 +00:00
* Nim ping test * Working interop * Add nim toml * Add CI * fix workflow name * Delete go-rust specifics * Update .github/workflows/ping-interop-latest.yml Co-authored-by: Max Inden <mail@max-inden.de> Co-authored-by: Max Inden <mail@max-inden.de>
15 lines
441 B
Docker
15 lines
441 B
Docker
ARG NimVersion="latest"
|
|
FROM nimlang/nim:${NimVersion}-alpine as builder
|
|
|
|
RUN nimble install -y "https://github.com/status-im/testground-nim-sdk@#c282ff68c08ef85a7ca011e077e3e69eb1a6edec"
|
|
|
|
ARG Libp2pVersion="#unstable"
|
|
RUN nimble install -y "libp2p@${Libp2pVersion}"
|
|
FROM builder
|
|
|
|
ARG PLAN_PATH="./"
|
|
COPY ./plan/${PLAN_PATH} ./plan
|
|
RUN cd plan && nimble install -dy && nim c -d:chronicles_log_level=NOTICE main.nim
|
|
|
|
ENTRYPOINT ["plan/main"]
|