You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by st...@apache.org on 2022/06/23 05:31:52 UTC

[openwhisk] branch master updated: Update npm version for ow-utils docker (#5261)

This is an automated email from the ASF dual-hosted git repository.

style95 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk.git


The following commit(s) were added to refs/heads/master by this push:
     new c5970a657 Update npm version for ow-utils docker (#5261)
c5970a657 is described below

commit c5970a657a3070e9964cb14715b9df31819d3b75
Author: HGY <42...@users.noreply.github.com>
AuthorDate: Thu Jun 23 13:31:45 2022 +0800

    Update npm version for ow-utils docker (#5261)
---
 tools/ow-utils/Dockerfile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tools/ow-utils/Dockerfile b/tools/ow-utils/Dockerfile
index 06037bfeb..b6eb7de23 100644
--- a/tools/ow-utils/Dockerfile
+++ b/tools/ow-utils/Dockerfile
@@ -35,6 +35,9 @@ RUN apt-get update && apt-get install -y \
   locales \
 && rm -rf /var/lib/apt/lists/*
 
+# update npm
+RUN npm install -g n && n stable && hash -r
+
 RUN locale-gen en_US.UTF-8
 ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'