diff --git a/tests/hole-punching-interop/Dockerfile b/tests/hole-punching-interop/Dockerfile index f7dd1b0064..3f2030c93a 100644 --- a/tests/hole-punching-interop/Dockerfile +++ b/tests/hole-punching-interop/Dockerfile @@ -5,6 +5,10 @@ WORKDIR /workspace COPY .pinned libp2p.nimble nim-libp2p/ +RUN --mount=type=cache,target=/var/cache/apt apt-get update && apt-get install -y python python3 python3-pip python3-venv curl + +RUN mkdir .venv && python3 -m venv .venv && . .venv/bin/activate + RUN cd nim-libp2p && nimble install_pinned && nimble install redis -y COPY . nim-libp2p/ diff --git a/tests/transport-interop/Dockerfile b/tests/transport-interop/Dockerfile index e1aa31d390..0cbeea99b3 100644 --- a/tests/transport-interop/Dockerfile +++ b/tests/transport-interop/Dockerfile @@ -5,6 +5,10 @@ WORKDIR /app COPY .pinned libp2p.nimble nim-libp2p/ +RUN --mount=type=cache,target=/var/cache/apt apt-get update && apt-get install -y python python3 python3-pip python3-venv curl + +RUN mkdir .venv && python -m venv .venv && . .venv/bin/activate + RUN cd nim-libp2p && nimble install_pinned && nimble install "redis@#b341fe240dbf11c544011dd0e033d3c3acca56af" -y COPY . nim-libp2p/