Skip to content

Commit

Permalink
Don't install node in Dockerfile
Browse files Browse the repository at this point in the history
We are not using this anymore
  • Loading branch information
ErikDeSmedt committed Mar 5, 2024
1 parent 3e7bb4c commit 9933470
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions libs/gl-testing/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,10 @@ RUN apt-get update && apt-get install -qqy \
libsqlite3-dev \
libpq5 \
libtool \
nodejs \
npm \
pkgconf \
python3 \
python3-pip \
python3-venv \
nodejs \
npm \
sudo \
socat \
unzip \
Expand Down Expand Up @@ -137,8 +133,6 @@ ENV PATH=/home/$DOCKER_USER/.cargo/bin:$PATH
ENV GL_DOCKER=1
ENV PATH=/tmp/venv/bin:$PATH
ENV VIRTUAL_ENV=/tmp/venv
ENV NPM_PACKAGES="${HOME}/.npm-packages"
ENV PATH="${PATH}:${NPM_PACKAGES}/bin"

RUN cd /tmp/ && \
wget "https://bitcoincore.org/bin/bitcoin-core-${BITCOIN_VERSION}/bitcoin-${BITCOIN_VERSION}-x86_64-linux-gnu.tar.gz" -O bitcoin.tar.gz && \
Expand Down Expand Up @@ -204,13 +198,6 @@ RUN python3 -m pip install -U pip tomli && \

RUN git config --global --add safe.directory /repo

# Install nodejs
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
RUN mkdir "${HOME}/.npm-packages" && npm config set prefix "${HOME}/.npm-packages"

# Required to build and test the JS bindings
RUN npm install -g cargo-cp-artifact

RUN (cd /repo/libs/gl-client-py; maturin develop)
# Install `gl-testing`. When integrators use this image they'll mount
# their own code into `/repo`
Expand Down

0 comments on commit 9933470

Please sign in to comment.