mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-05 23:43:07 +00:00
* Added metrics to tests Fix liteprotocoltester docker files with libnegentropy COPY docker compose with waku-sim simulation now having test performance dashboard and localhost:3033 Mention dashboard in Readme * Update apps/liteprotocoltester/statistics.nim Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com> * indent fix, more stable finding of service/bootstrap nodes, pre-set for TWN --------- Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
39 lines
1.3 KiB
Docker
39 lines
1.3 KiB
Docker
# TESTING IMAGE --------------------------------------------------------------
|
|
|
|
## NOTICE: This is a short cut build file for ubuntu users who compiles nwaku in ubuntu distro.
|
|
## This is used for faster turnaround time for testing the compiled binary.
|
|
## Prerequisites: compiled liteprotocoltester binary in build/ directory
|
|
|
|
FROM ubuntu:noble AS prod
|
|
|
|
LABEL maintainer="zoltan@status.im"
|
|
LABEL source="https://github.com/waku-org/nwaku"
|
|
LABEL description="Lite Protocol Tester: Waku light-client"
|
|
LABEL commit="unknown"
|
|
LABEL version="unknown"
|
|
|
|
# DevP2P, LibP2P, and JSON RPC ports
|
|
EXPOSE 30303 60000 8545
|
|
|
|
# Referenced in the binary
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
libgcc1 \
|
|
libpcre3 \
|
|
libpq-dev \
|
|
wget \
|
|
iproute2 \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Fix for 'Error loading shared library libpcre.so.3: No such file or directory'
|
|
RUN ln -s /usr/lib/libpcre.so /usr/lib/libpcre.so.3
|
|
|
|
COPY build/liteprotocoltester /usr/bin/
|
|
COPY apps/liteprotocoltester/run_tester_node.sh /usr/bin/
|
|
COPY ./libnegentropy.so /usr/lib/
|
|
|
|
|
|
ENTRYPOINT ["/usr/bin/run_tester_node.sh", "/usr/bin/liteprotocoltester"]
|
|
|
|
# # By default just show help if called without arguments
|
|
CMD ["--help"]
|