diff --git a/dotnet-build-server/6.0/Dockerfile b/dotnet-build-server/6.0/Dockerfile
index e6846136e9bde6317264aff773d560a28adda052..90b1f332e2090ab8577ce4091645290668f13899 100644
--- a/dotnet-build-server/6.0/Dockerfile
+++ b/dotnet-build-server/6.0/Dockerfile
@@ -14,13 +14,13 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
 
 # Make sure that tools we need are installed
 # Add external nodejs LTS apt source
-RUN curl -fsSL https://deb.nodesource.com/setup_14.x | bash -
+RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
 # Create missing man directores for update-alternatives
 RUN mkdir -p /usr/share/man/man1
 # JRE, NodeJS for sonarqube scanner post-scan
 RUN apt-get update && apt-get install -y \
     git \
-    openjdk-11-jre \
+    openjdk-17-jre \
     nodejs \
     && rm -rf /var/lib/apt/lists/*