Skip to content

Commit

Permalink
chore: python env
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-ramos committed Feb 28, 2025
1 parent d0cd098 commit 2f821f4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/hole-punching-interop/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
4 changes: 4 additions & 0 deletions tests/transport-interop/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit 2f821f4

Please sign in to comment.