From 1196876df077141addcde55e1924a85f84797a89 Mon Sep 17 00:00:00 2001 From: Saulius Kazokas Date: Fri, 19 Nov 2021 13:31:37 +0200 Subject: [PATCH] Add npm update to Dockerfile --- runtimes/7.4/Dockerfile | 1 + runtimes/8.0/Dockerfile | 1 + runtimes/8.1/Dockerfile | 1 + 3 files changed, 3 insertions(+) diff --git a/runtimes/7.4/Dockerfile b/runtimes/7.4/Dockerfile index 3554a29c..ee2a566f 100644 --- a/runtimes/7.4/Dockerfile +++ b/runtimes/7.4/Dockerfile @@ -32,6 +32,7 @@ RUN apt-get update \ && php -r "readfile('http://getcomposer.org/installer');" | php -- --install-dir=/usr/bin/ --filename=composer \ && curl -sL https://deb.nodesource.com/setup_$NODE_VERSION.x | bash - \ && apt-get install -y nodejs \ + && npm install -g npm \ && curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \ && echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list \ && apt-get update \ diff --git a/runtimes/8.0/Dockerfile b/runtimes/8.0/Dockerfile index 632925d2..359287e9 100644 --- a/runtimes/8.0/Dockerfile +++ b/runtimes/8.0/Dockerfile @@ -32,6 +32,7 @@ RUN apt-get update \ && php -r "readfile('http://getcomposer.org/installer');" | php -- --install-dir=/usr/bin/ --filename=composer \ && curl -sL https://deb.nodesource.com/setup_$NODE_VERSION.x | bash - \ && apt-get install -y nodejs \ + && npm install -g npm \ && curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \ && echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list \ && apt-get update \ diff --git a/runtimes/8.1/Dockerfile b/runtimes/8.1/Dockerfile index 1530bb97..aa63765c 100644 --- a/runtimes/8.1/Dockerfile +++ b/runtimes/8.1/Dockerfile @@ -33,6 +33,7 @@ RUN apt-get update \ && php -r "readfile('http://getcomposer.org/installer');" | php -- --install-dir=/usr/bin/ --filename=composer \ && curl -sL https://deb.nodesource.com/setup_$NODE_VERSION.x | bash - \ && apt-get install -y nodejs \ + && npm install -g npm \ && curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \ && echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list \ && apt-get update \