From e2bdbde788bfaea9510d8ccb275dc206990933a9 Mon Sep 17 00:00:00 2001
From: Marcel Loose <loose@astron.nl>
Date: Fri, 15 Dec 2023 08:58:41 +0000
Subject: [PATCH] Update NodeJS in Docker image

---
 .dockerignore          | 1 +
 Docker/Dockerfile-base | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.dockerignore b/.dockerignore
index c0ef1859..efc254ab 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -1,6 +1,7 @@
 .git/
 build/
 dist/
+Docker/
 docs/build/
 *.egg-info/
 venv/
diff --git a/Docker/Dockerfile-base b/Docker/Dockerfile-base
index 5e21f8e4..7b90a6bf 100644
--- a/Docker/Dockerfile-base
+++ b/Docker/Dockerfile-base
@@ -136,11 +136,12 @@ RUN git clone --no-checkout \
 # This way, we are sure that the latest versions of `pip`, `setuptools`, and
 # `wheel` are installed in /usr/local, the only directory we're going to copy
 # over to the next build stage.
-RUN wget https://bootstrap.pypa.io/get-pip.py && \
+RUN wget -q https://bootstrap.pypa.io/get-pip.py && \
     python3 get-pip.py
 
 # Install required python packages
 RUN python3 -m pip install --no-cache-dir --upgrade \
+    nodejs-wheel \
     toil[cwl]
 
 # Install current version of LINC. By adding this to the base image
@@ -220,7 +221,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
         libpython3.8 \
         libsigc++-2.0-0v5 \
         libstdc++6 \
-        nodejs \
         python3 \
         python3-casacore \
         python3-distutils \
-- 
GitLab