From a3a3ae1c1c0f91fd0e8bf6ab2515dbab4de556d7 Mon Sep 17 00:00:00 2001 From: Lewis Jones Date: Tue, 22 Oct 2024 13:02:47 +0100 Subject: [PATCH 1/4] Update node version --- .nvmrc | 2 +- DevDockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.nvmrc b/.nvmrc index 348076b95..2a393af59 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -10.15.3 +20.18.0 diff --git a/DevDockerfile b/DevDockerfile index b2c294822..da9261a73 100644 --- a/DevDockerfile +++ b/DevDockerfile @@ -1,6 +1,6 @@ # Copyright (c) Microsoft Corporation and others. Licensed under the MIT license. # SPDX-License-Identifier: MIT -FROM node:14-alpine as builder +FROM node:20-alpine as builder COPY . /opt/website WORKDIR /opt/website ARG REACT_APP_SERVER=http://localhost:4000 From bb865bb4106aa4916afd09d9973e779561047710 Mon Sep 17 00:00:00 2001 From: Lewis Jones Date: Tue, 22 Oct 2024 13:11:29 +0100 Subject: [PATCH 2/4] Use version 18 As fails with 20 --- .nvmrc | 2 +- DevDockerfile | 2 +- Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.nvmrc b/.nvmrc index 2a393af59..603606bc9 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -20.18.0 +18.17.0 diff --git a/DevDockerfile b/DevDockerfile index da9261a73..7ad555405 100644 --- a/DevDockerfile +++ b/DevDockerfile @@ -1,6 +1,6 @@ # Copyright (c) Microsoft Corporation and others. Licensed under the MIT license. # SPDX-License-Identifier: MIT -FROM node:20-alpine as builder +FROM node:18-alpine as builder COPY . /opt/website WORKDIR /opt/website ARG REACT_APP_SERVER=http://localhost:4000 diff --git a/Dockerfile b/Dockerfile index 473e10d73..3ffee3ff3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # Copyright (c) Microsoft Corporation and others. Licensed under the MIT license. # SPDX-License-Identifier: MIT -FROM node:14-alpine as builder +FROM node:18-alpine as builder COPY . /opt/website WORKDIR /opt/website ARG REACT_APP_SERVER=http://localhost:4000 From 451626410ecec3d6d573f381637ff9dfe1b0ce9f Mon Sep 17 00:00:00 2001 From: Lewis Jones Date: Tue, 22 Oct 2024 13:19:52 +0100 Subject: [PATCH 3/4] 14 lowest version with features we need --- .nvmrc | 2 +- DevDockerfile | 2 +- Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.nvmrc b/.nvmrc index 603606bc9..4b964e965 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -18.17.0 +14.0.0 diff --git a/DevDockerfile b/DevDockerfile index 7ad555405..b2c294822 100644 --- a/DevDockerfile +++ b/DevDockerfile @@ -1,6 +1,6 @@ # Copyright (c) Microsoft Corporation and others. Licensed under the MIT license. # SPDX-License-Identifier: MIT -FROM node:18-alpine as builder +FROM node:14-alpine as builder COPY . /opt/website WORKDIR /opt/website ARG REACT_APP_SERVER=http://localhost:4000 diff --git a/Dockerfile b/Dockerfile index 3ffee3ff3..473e10d73 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # Copyright (c) Microsoft Corporation and others. Licensed under the MIT license. # SPDX-License-Identifier: MIT -FROM node:18-alpine as builder +FROM node:14-alpine as builder COPY . /opt/website WORKDIR /opt/website ARG REACT_APP_SERVER=http://localhost:4000 From 1d8c29a9d610a0054ed65b1ab41594c0d9ceef4c Mon Sep 17 00:00:00 2001 From: Lewis Jones Date: Tue, 22 Oct 2024 13:35:47 +0100 Subject: [PATCH 4/4] Use latest version of 14 --- .nvmrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.nvmrc b/.nvmrc index 4b964e965..f46d5e394 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -14.0.0 +14.21.3