Skip to content
Snippets Groups Projects
Commit b23b0dd1 authored by Дмитрий Кибирев's avatar Дмитрий Кибирев Committed by Yaroslav Dynnikov
Browse files

ci: deprecated nodejs install script

parent 63e6d3fc
No related branches found
No related tags found
1 merge request!809ci: deprecated nodejs install script
Pipeline #30356 passed
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment