This is an automated email from the ASF dual-hosted git repository.

lhotari pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-manager.git


The following commit(s) were added to refs/heads/master by this push:
     new 0c87834  build: update to java 17 (#548)
0c87834 is described below

commit 0c87834197cd9d23e360c6b1c5a471f56eabadc3
Author: Jonas Geiregat <[email protected]>
AuthorDate: Sat Feb 17 15:40:48 2024 +0100

    build: update to java 17 (#548)
    
    Getting ready for the transition to Spring Boot 3, which mandates a minimum 
of Java 17.
---
 .github/workflows/gradle.yml | 4 ++--
 docker/Dockerfile            | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml
index 17af1be..c082089 100644
--- a/.github/workflows/gradle.yml
+++ b/.github/workflows/gradle.yml
@@ -28,10 +28,10 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v3
-      - name: Set up JDK 8
+      - name: Set up JDK
         uses: actions/setup-java@v3
         with:
-          java-version: 8
+          java-version: 17
           distribution: temurin
       - name: Build with Gradle
         run: ./gradlew build
diff --git a/docker/Dockerfile b/docker/Dockerfile
index cdaeebd..7c927aa 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -16,7 +16,7 @@
 # specific language governing permissions and limitations
 # under the License.
 #
-FROM openjdk:8-jre
+FROM eclipse-temurin:17-jre-jammy
 
 ARG BUILD_DATE
 ARG VCS_REF

Reply via email to