From 9f4871f45b31c3ddf8911f81c72d83d32de2c7e2 Mon Sep 17 00:00:00 2001 From: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com> Date: Thu, 13 Jun 2024 09:40:08 +0300 Subject: [PATCH 1/2] Docker/vtadmin: Update node version Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com> --- docker/binaries/vtadmin/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/binaries/vtadmin/Dockerfile b/docker/binaries/vtadmin/Dockerfile index 9d30ba565e0..fe69237ea13 100644 --- a/docker/binaries/vtadmin/Dockerfile +++ b/docker/binaries/vtadmin/Dockerfile @@ -17,7 +17,7 @@ ARG DEBIAN_VER=bullseye-slim FROM vitess/lite:${VT_BASE_VER} AS lite -FROM node:18-${DEBIAN_VER} as node +FROM node:20-${DEBIAN_VER} as node # Prepare directory structure. RUN mkdir -p /vt/web From 5c212244dfb31ea1be95103114d75f49978c30b1 Mon Sep 17 00:00:00 2001 From: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com> Date: Thu, 13 Jun 2024 09:42:26 +0300 Subject: [PATCH 2/2] update node setup Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com> --- docker/local/install_local_dependencies.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/local/install_local_dependencies.sh b/docker/local/install_local_dependencies.sh index e570d0dc196..07fd302e283 100755 --- a/docker/local/install_local_dependencies.sh +++ b/docker/local/install_local_dependencies.sh @@ -22,4 +22,4 @@ mkdir -p /var/run/etcd && chown -R vitess:vitess /var/run/etcd rm -rf /var/lib/apt/lists/* # Install npm and node dependencies for vtadmin -curl -fsSL https://deb.nodesource.com/setup_19.x | bash - && apt-get install -y nodejs +curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && apt-get install -y nodejs