Skip to content
Snippets Groups Projects
Unverified Commit e30cffda authored by Vivek Dutta's avatar Vivek Dutta
Browse files

Fix node installation

parent abe2a371
No related branches found
No related tags found
1 merge request!24Updated base image to 22.04 to support OpenSSL-v3
......@@ -88,12 +88,10 @@ RUN \
rm -rf cppcheck
# install node
ARG NODE_VERSION=16.17.1
RUN deb_architecture="$(dpkg --print-architecture)" && \
curl -fsSL "https://deb.nodesource.com/node_16.x/pool/main/n/nodejs/nodejs_${NODE_VERSION}-deb-1nodesource1_${deb_architecture}.deb" -o /tmp/nodejs.deb && \
dpkg -i /tmp/nodejs.deb && \
apt-get install -y --fix-broken && \
npm install --global typescript yarn
ARG NODEJS_VERSION_MAJOR=16
RUN curl -fsSL "https://deb.nodesource.com/setup_${NODEJS_VERSION_MAJOR}.x" | bash - && \
apt-get install -y nodejs && \
rm -rf /var/lib/apt/lists/*
# install typescript
ARG TYPESCRIPT_VERSION=4.8.4
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment