Skip to content

Commit

Permalink
Change: Install nodejs 14 from source
Browse files Browse the repository at this point in the history
  • Loading branch information
y0urself committed Sep 22, 2021
1 parent 08882c9 commit 8440fd3
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .docker/testing/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ FROM greenbone/gvm-libs-$VERSION-$COMPILER-build
ARG DEBIAN_FRONTEND=noninteractive

# Install curl and gnupg to add remote repositories
# Add repository for yarn
# Add repository for yarn & nodejs
RUN apt-get update && apt-get install --assume-yes \
curl \
gnupg \
Expand All @@ -21,13 +21,19 @@ RUN apt-get update && apt-get install --assume-yes \
https://dl.yarnpkg.com/debian/pubkey.gpg \
| apt-key add - && \
echo "deb http://dl.yarnpkg.com/debian/ stable main" \
> /etc/apt/sources.list.d/yarn.list
> /etc/apt/sources.list.d/yarn.list \
&& curl --silent --show-error \
https://deb.nodesource.com/gpgkey/nodesource.gpg.key \
| apt-key add - && \
echo "deb https://deb.nodesource.com/node_14.x buster main" \
> /etc/apt/sources.list.d/nodesource.list

# Install node.js and yarn for gsa
# Install Debian core dependencies required for building gsad

RUN apt-get update && apt-get install --assume-yes \
nodejs \
libmicrohttpd-dev \
nodejs \
yarn \
libxml2-dev \
libxslt1-dev \
Expand Down

0 comments on commit 8440fd3

Please sign in to comment.