From 4d679633105f922538d51dce76406dd156324fac Mon Sep 17 00:00:00 2001 From: Greg Tyler Date: Wed, 28 Jun 2023 11:39:29 +0100 Subject: [PATCH] Fix Node to 20.2.x Node 20.3.x doesn't work with our local versions of Docker so we must lock to 20.2.x for now [Issue on nodejs/docker-node](https://github.com/nodejs/docker-node/issues/1912) #patch --- docker/sirius-lpa-frontend/Dockerfile | 2 +- renovate.json | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/docker/sirius-lpa-frontend/Dockerfile b/docker/sirius-lpa-frontend/Dockerfile index 07a6061d..d9edbe53 100644 --- a/docker/sirius-lpa-frontend/Dockerfile +++ b/docker/sirius-lpa-frontend/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20.3.1-alpine3.17 as asset-env +FROM node:20.2.0-alpine3.17 as asset-env WORKDIR /app diff --git a/renovate.json b/renovate.json index 62929889..66543a9a 100644 --- a/renovate.json +++ b/renovate.json @@ -5,6 +5,17 @@ "commitMessageAction": "Renovate Update", "labels": ["Dependencies", "Renovate"], "packageRules": [ + { + "description": [ + "Ignore Dockerfile Node upgrades", + "Node 20.3.x doesn't work with our local versions of Docker so we must lock to 20.2.x for now" + ], + "matchFiles": ["docker/sirius-lpa-frontend/Dockerfile"], + "matchDatasources": ["docker"], + "matchPackageNames": ["node"], + "matchUpdateTypes": ["minor"], + "enabled": false + }, { "automerge": true, "groupName": "Patch & Minor Updates",