From 5ef5509d24b7a42386616a516bd8edf148a6eaa3 Mon Sep 17 00:00:00 2001 From: voc0der Date: Tue, 24 Feb 2026 08:20:27 -0500 Subject: [PATCH] Add temporary Node build deps for armv7 nvm install --- Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 30148b1..1d50b71 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,10 +33,16 @@ RUN mkdir /usr/local/nvm ENV PATH="/usr/local/nvm/current/bin:${PATH}" ENV NVM_DIR=/usr/local/nvm RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash -RUN . "$NVM_DIR/nvm.sh" && \ +RUN apt update && \ + apt install -y --no-install-recommends python3 python-is-python3 make g++ && \ + . "$NVM_DIR/nvm.sh" && \ nvm install ${NODE_VERSION} && \ nvm use v${NODE_VERSION} && \ nvm alias default v${NODE_VERSION} && \ + apt purge -y python3 python-is-python3 make g++ && \ + apt autoremove -y --purge && \ + apt clean && \ + rm -rf /var/lib/apt/lists/* && \ rm -f "$NVM_DIR/current" && \ ln -s "$(dirname "$(dirname "$(command -v node)")")" "$NVM_DIR/current"