diff --git a/docker-build-base/Dockerfile b/docker-build-base/Dockerfile index be9542d7fe1af6c0850cbf6c8b49da0e8085539a..c94e41e083ee517b4e3d67e653c404e76b82cb81 100644 --- a/docker-build-base/Dockerfile +++ b/docker-build-base/Dockerfile @@ -10,7 +10,8 @@ RUN set -e; \ python3-yaml \ python3-six \ python3-gevent \ - python3-pip + python3-pip && \ + apt-get clean all RUN set -e; \ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | \ @@ -25,6 +26,11 @@ RUN PIP_NO_CACHE_DIR=true python3.10 -m pip install -q --require-hashes -r /tmp/ && rm /tmp/requirements-pipenv.txt # install nodejs -RUN curl -fsSL https://deb.nodesource.com/setup_19.x | bash - &&\ - apt install -y nodejs &&\ - corepack enable +# https://github.com/nodesource/distributions#installation-scripts +RUN curl -SLO https://deb.nodesource.com/nsolid_setup_deb.sh && \ + chmod 755 nsolid_setup_deb.sh && \ + ./nsolid_setup_deb.sh 21 && \ + rm nsolid_setup_deb.sh && \ + apt-get install nodejs && \ + corepack enable && \ + apt-get clean all