Skip to content

Commit

Permalink
Merge branch 'develop' into fix/transaction-pool/priority
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastijankuzner committed Jan 8, 2025
2 parents 3e6c147 + 5599765 commit d372994
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions tests/e2e/consensus/nodes/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,23 @@
FROM node:20
FROM ubuntu:24.04

WORKDIR /home/node
ENV DEBIAN_FRONTEND=noninteractive

ENV PNPM_HOME=/home/node/.pnpm/bin
RUN apt-get update && apt-get install -y \
curl \
gnupg \
build-essential \
libjemalloc2

RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
RUN apt-get install -y nodejs

WORKDIR /home/ubuntu

ENV PNPM_HOME=/home/ubuntu/.pnpm/bin
ENV PATH="${PATH}:${PNPM_HOME}"

RUN apt-get update && apt-get install build-essential -y \
&& apt-get install libjemalloc2 \
&& npm install -g npm@latest \
&& su node -c "npm install --prefix=/home/node/.pnpm -g pnpm" \
&& su node -c "export PNPM_HOME=/home/node/.pnpm/bin"
RUN npm install -g npm@latest \
&& su ubuntu -c "npm install --prefix=/home/ubuntu/.pnpm -g pnpm" \
&& su ubuntu -c "export PNPM_HOME=/home/ubuntu/.pnpm/bin"

USER node
USER ubuntu

0 comments on commit d372994

Please sign in to comment.