From be97fc22b36ef8c0fa32c05f1c817ec5b87e7298 Mon Sep 17 00:00:00 2001 From: Marco Polichetti Date: Mon, 23 Oct 2023 13:42:07 +0200 Subject: [PATCH] =?UTF-8?q?chore(release):=20Avoid=20updating=20npm=20in?= =?UTF-8?q?=20php-dev=20stage=20=F0=9F=A7=91=E2=80=8D=F0=9F=8F=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rationale: there is no way to update npm to the max version supported by node. --- Dockerfile | 1 - UPGRADE.md | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index eb99950..2074c1e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -159,7 +159,6 @@ RUN \ echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_VERSION.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list; \ apt-get update; \ apt-get install -y --no-install-recommends nodejs; \ - npm update -g npm; \ npm install -g yarn; \ # Cleanup rm -rf /root/.npm; \ diff --git a/UPGRADE.md b/UPGRADE.md index f1a76f9..6653af9 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -1,5 +1,9 @@ # Upgrade +## `0.4.0` to `0.4.1` + +Remove `npm update -g npm` from `Dockerfile`. + ## `0.3.x` to `0.4.0` To prevent issues with Linux, change