Skip to content
Snippets Groups Projects

ci: deprecated nodejs install script

Merged Дмитрий Кибирев requested to merge nodejs_remove_deprecated_message into master
All threads resolved!
@@ -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
Loading