From 879da89af1aaff5cb18bbdddb1a6f2dd7b06408b Mon Sep 17 00:00:00 2001
From: Lukasz Lopatowski <llopat@man.poznan.pl>
Date: Wed, 16 Apr 2025 11:34:32 +0200
Subject: [PATCH] Updated CI to use Java 21 docker images

---
 .gitlab-ci.yml      | 6 +++---
 docs/DEVELOPMENT.md | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2c93f8a1f..1ed8591d5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,7 +6,7 @@ stages:
 
 test:
   stage: test
-  image: openjdk:17-jdk-slim
+  image: openjdk:21-jdk-slim
   tags:
     - docker
   script:
@@ -15,7 +15,7 @@ test:
 
 sonar:
   stage: sonar
-  image: openjdk:17-jdk-slim
+  image: openjdk:21-jdk-slim
   only:
     - develop
     - /^release/
@@ -66,7 +66,7 @@ build_and_push_release_image:
 
 mend:
   stage: mend
-  image: openjdk:17-jdk-slim
+  image: openjdk:21-jdk-slim
   only:
     - /^release/
   variables:
diff --git a/docs/DEVELOPMENT.md b/docs/DEVELOPMENT.md
index 8e2c6c248..9414c7c31 100644
--- a/docs/DEVELOPMENT.md
+++ b/docs/DEVELOPMENT.md
@@ -2,7 +2,7 @@
 
 ### Technologies
 
-* Java 17
+* Java 21
 * Spring Boot
 * freemarker
 * Gitlab4j
@@ -12,7 +12,7 @@
 ### Running nmaas Platform on local machine
 
 #### Prerequisites
-Install Java 17 jdk
+Install Java 21 jdk
 
 #### Running the software
 In order to build and run the nmaas Platform software locally execute *./gradlew bootRun* in project root directory.
-- 
GitLab