diff --git a/.docker/testing/Dockerfile b/.docker/testing/Dockerfile index d0fbfb4552..d2c22191a6 100644 --- a/.docker/testing/Dockerfile +++ b/.docker/testing/Dockerfile @@ -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 \ @@ -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 \