From 7e8c974cdc7e98411ce6f4a698507180b2c990a5 Mon Sep 17 00:00:00 2001 From: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com> Date: Thu, 13 Jun 2024 09:50:59 +0300 Subject: [PATCH] Docker/vtadmin: Update node version (#16145) Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com> --- docker/binaries/vtadmin/Dockerfile | 2 +- docker/local/install_local_dependencies.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 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